• @steventhedev
    link
    24 days ago

    this doesn’t hold a candle to APL:

    sudoku←{⎕io←0       ⍝ Whitney/Last
        p←{(↑⍵)∘{(⍺∨.=⍵)/⍳n×n}¨,⍵},(n2){⍵,⍺⊥⌊⍵÷⍺}¨⍳n n←⍴⍵
        m←{(⊂⍵)⌈(⊂⍺=⍳⍴⍵)×(1+⍳n)~⍵[⍺⊃p]}
        (⍴⍵)∘⍴¨⊃{⊃,/⍺ m¨⍵}/{(⍸⍵=0),⊂⊂⍵},⍵
    }
    
    • Billegh
      link
      34 days ago

      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.

      • @stingpie
        link
        24 days ago

        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.