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

Programmer Humor

19813 readers
368 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] steventhedev 2 points 2 months ago (2 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),⊂⊂⍵},⍵
}
[–] bhamlin 3 points 2 months 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.

[–] stingpie 2 points 2 months 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.