Hacker News new | ask | show | jobs
by rco8786 260 days ago
Is there a language that can’t be contorted in surprising ways that I’m unaware of?
5 comments

LISP — the contortions are expected, not surprises
Non-Lisp: gratuitous contortions are expected.
I think that depends on the person, the language, and how familiar they are with the language. Someone's "what the fuck" is another's "obviously it can do that".
Swift, IMHO. Grew up on ObjC and the absolutely crazy things you could pull off dynamically at runtime. You can definitely feel they did not want that in Swift. There's operator overriding but idk if I'd count that as contorting in surprising ways shrugs
A language where there's only one way to do things, maybe a very early version of CSS. The things is all languages end up bloated with new features.
Probably not, but there are definitely languages that don't do automatic type coercion - so at least one fewer contortion available.