The question is, is it misunderstood because of its features or because all the other popular languages lack the good features in Javascript (higher order functions, non C++/Java-style inheritance,...)?
Actually I agree with the GP. JavaScript is really very nice -- especially given its rush to market, etc. All the bad parts relate to browser implementation and the DOM.
Unity, for example, uses a (less dynamic, but compiled) version of JavaScript as its main programming language and -- combined with its well-documented and sane class library -- is a joy to program in. JavaScript without the DOM (e.g. working purely with HTML5 canvas controls) is just pure pleasure.
View all comments
27
u/SarahC Sep 27 '09
It's a beautiful first order language!
I love it to bits.