top | item 42128355

(no title)

jjnoakes | 1 year ago

If you suggest a language here where nothing weird can be done, I bet someone will reply with something weird done in that language.

discuss

order

christophilus|1 year ago

This is true. I’ve written overly-clever, indecipherably dense code in many different languages. But some languages seem to practically encourage that kind of thing. Compare a random sampling of code from APL, Scala, Haskell, Perl, Clojure, C, and Go. You’ll probably find that average inscrutability varies widely between various language pairs.

kqr|1 year ago

Inscrutability to whom? I'm confident someone with 10 years of production Haskell experience will do a better job of reading production Haskell code than a comparable situation with C.

But then again, maybe that was what you were saying.