Hacker News new | ask | show | jobs
by hajile 1145 days ago
Is there ANY common language without TONS of ways to write bad code?

Is there ANY such language at all regardless of popularity?

1 comments

It's a spectrum. Most languages have some ways to write bad code, but there are definitely languages that have more or fewer ways compared to other languages. E.g. languages with simpler precedence rules, like Lisp or TCL, avoid this particular issue because you just can't write code with unintuitive precedence (although in the case of Lisp people often end up writing a macro that recapitulates the problem).