Re:"..best direction for evolving Java is to encourage a mor...
by mayanksinghal on Friday August 19, 2011 @11:51AM
(#2903769)
Yes, and to add on that, I think for JS there is a lot of ugly code out there on the web. I have actually used them a lot before watching Crockford video's and I found them quite late!
BTW, are there any other resources similar to these videos? (Or, to put it differently, is Douglas Crockford the authority for JS?)
Anyway.
It might be harder to read because you already know Java. Javascript has some horrible warts (IMO), and CoffeeScript fixes.
Also, Javascript is usually targeting the DOM, which is often ugly, especially if you are trying to include compatibility stuff. The DOM is basically a GUI, and GUI code can be rank ugly. Yes, it is hard to read (and learn) HTML, CSS, DOM, HTTP, and Javascript all at once, which is what real Javascript often involves.