this post was submitted on 10 Oct 2024
275 points (100.0% liked)

Programmer Humor

19652 readers
2086 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 month ago (1 children)

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),⊂⊂⍵},⍵
}
[–] [email protected] 3 points 1 month ago (1 children)

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.

[–] [email protected] 2 points 1 month 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.