> Javascript is a great language, way ahead of it's time.
No. Javascript is at best a nod toward better-designed languages implemented two decades ago, or more. Look at Self, and Lisp before that. It's really appalling that the sort of flexibility Javascript provides is just now reaching the mainstream, in two-thousand fucking eleven.
If I'm missing something (and you're well-versed in the history of programming language design), feel free to tell me otherwise.
And of course there's all these fancy new things being built on top of it, like CoffeeScript. I just recently realized that it's not the horrible monster I always thought it was.
The awesome core identified in that book is borrowed from older, better designed, languages. They are new to you if you are from the C/C++/VB/Java world. But that doesn't make them new or original.
Incidentally you can find most of them in any decent scripting language, including Perl, Python, Ruby and Clojure.
Yea but I have to learn Javascript anyway (client side apps) so why hate on it just because it could be better than it is? It's not that horrible of a language, I mean it's not nearly as bad as PHP and loads of people like PHP while almost everyone hates on Javascript.
I was not hating on JavaScript. I was confirming the core of silentbicycle's comment by telling the truth about JavaScript.
As for why so many do hate on it, many workmen come to have strong opinions on their tools. JavaScript is a flawed tool that you're forced to use. So if its deficiencies grate on you, there is plenty of opportunity for them to grate more.
Incidentally your PHP comment is completely irrelevant. Sure, lots of people like PHP despite the fact that it is a horrible language. But on the whole, in my experience, it is a more widely hated language than JavaScript. This despite the fact that people aren't forced to use PHP.
It's not a horrible monster, it's just what happens when you have a brilliant programmer working on an ambitious project, but an early draft version's bugs get frozen as part of a de-facto standard. It could have been a really good language if it had a lot more time to develop.
While _Javascript: The Good Parts_ is good, it's hardly a ringing endorsement.
Lua is a very similar language, but had over a decade longer to develop, with a smaller circle of active users. It's fixed many of Javascript's design flaws.
No. Javascript is at best a nod toward better-designed languages implemented two decades ago, or more. Look at Self, and Lisp before that. It's really appalling that the sort of flexibility Javascript provides is just now reaching the mainstream, in two-thousand fucking eleven.
If I'm missing something (and you're well-versed in the history of programming language design), feel free to tell me otherwise.