News for hackers. Stuff that matters.
Re:Type Checking in JavaScript by voidr on Wednesday November 06, 2013 @05:38PM (#6686029)
Firstly: they could just start using TypeScript if they really care that much about type erros, since TS is a superset of JavaScript they can start using it with their existing code, so there is no excuse not to use it.

Secondly: it's ridiculous that their way of handling type errors is by just silently hiding them. They could be making a lot of errors that will become really hard to find this way.

Thirdly: performing type checking on runtime in JavaScript is just stupid, things like this could be performed at "compile time" with TypeScript or the Google Closure Compiler.

There are no comments on this comment yet.