Ask HN: Resources for advanced JS?
Any advice or resources would be greatly appreciated.
Any advice or resources would be greatly appreciated.
This authoritative book scrapes away these bad features
to reveal a subset of JavaScript that's more reliable,
readable, and maintainable than the language as a
whole-a subset you can use to create truly extensible
and efficient code.
The other thing that has had a huge impact on my coding style is learning to write tests for everything with Jasmine[2]. Forcing myself to write tests has basically forced me into better design practices, since it's nigh-on impossible to test javascript callback-spaghetti.Doing a couple of backbone.js[3] tutorials may be a bit of an eye-opener too.
[1] http://shop.oreilly.com/product/9780596517748.do
* JavaScript Patterns by Stoyan Stefanov
* Learning JavaScript Design Patterns - Addy Osmani
* High Performance JavaScript - Nicholas Zakas
After you read these three books you might become apt to write great, efficient JS code and know the underpinnings of the language, which IMO has a particularly curious design and might make you confused sometimes.
P.S: Check out the WTFJS website for being introduced to some strange behaviour of the language http://wtfjs.com/
Have a nice and busy week!
underscore - http://underscorejs.org/ backbone - http://backbonejs.org/ dojo - http://dojotoolkit.org/
They all have great comments in the dev versions and the code is very well written IMO. If you really want to become an advanced js programmer I think reading and understanding source code is basically the only way to go.
good luck :)