3 ms·
I've yet to find a function, better, which can apply even a partial ordering on language designs. A lot of the same arguments against Javascript are heaped on
by agentultra 13y ago
I've yet to find a function, better, which can apply even a partial ordering on language designs.
A lot of the same arguments against Javascript are heaped on C as well. I think anyone has used these languages long enough and understand them deeply enough are more than aware of their short-comings. It hasn't stopped C programmers from writing the software that runs pretty much the entire world. Neither has it stopped Javascript programmers from making awesome things.
I think the argument that, X is a crappy language because it lets you do stupid things like Y, should be removed from the lexicon. I assume you've all seen the video of the wat talk and any Javascript programmer worth their salt has committed it to memory. If they haven't then they're either still new to the language or ignorant and could use some help. Maybe point them in Doug Crockford's direction.
There's no perfect defence against human error. It's why we write tests, static analyzers, linters and come up with practices like code review and prayer (hah!).