News for hackers. Stuff that matters.
Re:The void of undefined in JavaScript by moron4hire on Friday July 12, 2013 @08:20AM (#6032178)
If you have to guard against someone doing something silly, then you are never safe. The problem is not the language at that point, it's the environment.
Re:The void of undefined in JavaScript by MaulingMonkey on Saturday July 13, 2013 @03:41PM (#6038481)
To err is human -- you're never safe. Even if we say people are the root of the problem, fixing their fundamentally imperfect nature is currently beyond the capabilities of science, whereas doing something like enforcing constants at a language level is not. Education will reduce, but not eliminate, the chance of making such a mistake.