News for hackers. Stuff that matters.
Re:JavaScript in 2015 by path411 on Thursday January 08, 2015 @11:18AM (#8857034)
So the real problem is passing wrong parameters to a function? Sounds like you should swap to something like TypeScript for strict typing then.

Or you know, stop acting like JavaScript is unique in that improper function calling breaks your code.

I can't believe in 2015 there are still people who follow the "JavaScript equalities are WTF" mentality. If you are running into equality operator problems in JS, you are probably going to run into a myriad of problems in any language.

Re:JavaScript in 2015 by untitaker_ on Monday January 12, 2015 @02:49PM (#8875981)
Except in any decent language, however typed, improper function calling creates errors.

I can't believe in 2015 there are still people who follow the "invalid input should produce invalid output" mentality.