3 ms·
It's very easy to brush all of these as "don't matter in practice" or "just use <insert sane equivalent of ...>", but if we go that route, almost any language c
by w0utert 14y ago
It's very easy to brush all of these as "don't matter in practice" or "just use <insert sane equivalent of ...>", but if we go that route, almost any language can be considers 'good enough' to write code in.
I see 2 problems with this point of view:
1) Ever programmer sometimes makes mistakes, such as forgetting a semicolon, or writing '==' instead of '==='
2) This assumes that anyone writing JavaScript knows about all these gotcha's
We can sit here all day arguing about 'how bad' some of the things JavaScript does or does not, but that's not the point. Most other languages have none of these issues, and if tomorrow somehow all browsers on earth would magically be able to run some kind of clean alternative to JavaScript, I'm pretty sure everyone would immediately jump on it.