3 ms·
I think the problem is ultimately a combination of popularity and forced-usage that creates opinions like these. JS has remarkably less weirdness and cruft than
by Spivak 7y ago
I think the problem is ultimately a combination of popularity and forced-usage that creates opinions like these. JS has remarkably less weirdness and cruft than other ubiquitous languages like Bash and Python because of how quickly browser vendors are able to iterate on it. Every little piece of the language has millions of eyeballs on it.
- int_19h 7y agoThe vendors are able to iterate when adding new features, but they have to maintain all the old stuff for back-compat reasons. And some of it is core language behavior that cannot be changed but which does surface everywhere - e.g. equality and implicit conversions. When you account for that, I would strongly disagree that JS has less weirdness and cruft than Python.
- ttty 7y agoI never had a single == in my codebase. All are ===