2 ms·
Or it's because you are familiar with enough other languages to understand how much better Javascript could have been, and you find frustration in the multitude
by marssaxman 13y ago
Or it's because you are familiar with enough other languages to understand how much better Javascript could have been, and you find frustration in the multitude of ways its sloppy design makes life unnecessarily difficult for its users.
The reasons I think Javascript sucks have nothing to do with browser compatibility problems or libraries like Jquery; they are fundamental mistakes in the language design, like "this"-binding and implicit value conversion.
The argument that people hate Javascript because it is a functional language sounds very strange to this particular fan of functional languages. Does he really think Javascript is a "functional language" just because it has closures?
"you can’t underestimate the power of ubiquity" - well, yes. That is what Javascript has going for it, and that is about all that Javascript has going for it. Fortunately for Javascript fans, it's enough to guarantee that we're going to be dealing with the language for decades to come.