Re:The JavaScript Problem
by baddox on Sunday April 27, 2014 @02:13AM
(#7654166)
Doesn't that argument get weaker as JavaScript gets more widely used? It's already one of the most prominent languages in the world, and is probably increasingly the first programming language encountered and learned by beginners.
[ Parent
| on HN ]
One problem is that these users do not necessarily understand the semantics. I helped a friend of mine, a reasonably competent programmer, debug his javascript once. He had no idea that you needed to use "var" in order to make a variable local! He'd written quite a lot of javascript without triggering any funny behavior until this bug.
So, instead, imho, the argument gets stronger. Why is the first programming language encountered by beginners these days full of traps? How cruel! What a poor impression of programming they must get.