Linked by Thom Holwerda on Mon 9th May 2011 21:14 UTC, submitted by Elv13
Thread beginning with comment 472590
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
I'd say you don't know what you're talking about. Compile-time type safety is only one of the many benefits of having a type system. Regardless, JavaScript *does* have types, whether or not you personally consider it worthless for it to have one.
For all practical purposes, there is no point in a type system if its weak. The end game here is program correctness, and that is not something that comes out of the box with Javascript.
The types themselves in Javascript don't matter as much as the values of the variables, which is where the problem lies.
The problem is that of undefined behavior from implicit conversions. Because of that, Javascript is effectively typeless for every reason that matters.
This abomination of a language has no place anywhere, at all.




Member since:
2005-11-29
Without having type safety having a type system is effectively useless.