https://github.com/satwikkansal/wtfpython?tab=readme-ov-file#-needles-in-a-haystack-
I wonder if there's any language that thought about all edge cases and avoided exceptions and such gotchas at the design level.
JS is notorious for such WTFs but even Python—which I've used for over a decade now—has surprised me countless times.
Is Haskell also like that? How about Lisps (CL, Racket, Clojure, Scheme, etc.)?
PaulHoule•3h ago
https://esolangs.org/wiki/Brainfuck
which are too simple to have WTFs, although you might say the whole thing is a WTF. I think AVR-8 assembler is WTF free, but I'd like a more powerful macro assembler which would probably introduce a WTF.
Common Lisp is full of WTFs, I went through many stages of grief reading Graham's On Lisp but most notable was "if he was using Clojure he wouldn't be fighting with nconc". People have problems with Clojure too
https://www.more-magic.net/posts/thoughts-on-clojure.html