qaz@lemmy.world to Programmer HumorEnglish · 1 month agoWhy have UTF8 support if you won't write your code in the Sumerian clay tablet alphabet of Ancient Mesopotamia?lemmy.worldimagemessage-square24fedilinkarrow-up1275arrow-down10
arrow-up1275arrow-down1imageWhy have UTF8 support if you won't write your code in the Sumerian clay tablet alphabet of Ancient Mesopotamia?lemmy.worldqaz@lemmy.world to Programmer HumorEnglish · 1 month agomessage-square24fedilink
minus-squaresteventhedev@lemmy.worldlinkfedilinkarrow-up2·1 month agothis doesn’t hold a candle to APL: sudoku←{⎕io←0 ⍝ Whitney/Last p←{(↑⍵)∘{(⍺∨.=⍵)/⍳n×n}¨,⍵},(n*÷2){⍵,⍺⊥⌊⍵÷⍺}¨⍳n n←⍴⍵ m←{(⊂⍵)⌈(⊂⍺=⍳⍴⍵)×(1+⍳n)~⍵[⍺⊃p]} (⍴⍵)∘⍴¨⊃{⊃,/⍺ m¨⍵}/{(⍸⍵=0),⊂⊂⍵},⍵ }
minus-squareBillegh@lemmy.worldlinkfedilinkarrow-up3·1 month agoThe difference is that the above Sumerian could be dealt with using find and replace in a dire situation, while APL is a write-only language.
minus-squarestingpie@lemmy.worldlinkfedilinkarrow-up2·1 month agoI dunno, there’s probably less than ten people who can actually speak Sumerian, and there’s at least a dozen people who can read APL.
this doesn’t hold a candle to APL:
sudoku←{⎕io←0 ⍝ Whitney/Last p←{(↑⍵)∘{(⍺∨.=⍵)/⍳n×n}¨,⍵},(n*÷2){⍵,⍺⊥⌊⍵÷⍺}¨⍳n n←⍴⍵ m←{(⊂⍵)⌈(⊂⍺=⍳⍴⍵)×(1+⍳n)~⍵[⍺⊃p]} (⍴⍵)∘⍴¨⊃{⊃,/⍺ m¨⍵}/{(⍸⍵=0),⊂⊂⍵},⍵ }
The difference is that the above Sumerian could be dealt with using find and replace in a dire situation, while APL is a write-only language.
I dunno, there’s probably less than ten people who can actually speak Sumerian, and there’s at least a dozen people who can read APL.