News for hackers. Stuff that matters.
Re:Learn JavaScript by peregrine on Thursday July 21, 2011 @12:01AM (#2788472)
Best way to learn javascript is to type CTRL+SHIFT+I(in chrome I think its f12 in others) and look at the code. Chrome will even de-obfuscate it for you automatically. Step through the code, maybe write some script in the console, go through some resig tutorials.

I really liked looking at the underscore.js literate source but thats a little more theoretical than practical.

Also if you are just learning javascript you might as well learn jQuery because it will do a huge chunk of your basic practical needs. If you are learning javascript to really understand the language or build something super complex you may wanna watch the crockford videos and understand prototypes and those things. Otherwise jQuery will probably cover you.

Re:Learn JavaScript by spjwebster on Thursday July 21, 2011 @02:37AM (#2788702)
I'd advocate learning JavaScript, learning the DOM and BOM, and only then learning a JavaScript framework like jQuery or YUI. Sooner or later you'll need to do some pure JavaScript development, and you'll need to know how to handle events or traverse the DOM without jQuery holding your hand. I say this as someone who has interviewed candidates for pure JavaScript roles who thought the terms jQuery and JavaScript were interchangeable.
Re:Learn JavaScript by sunilnimmagadda on Thursday July 21, 2011 @03:42AM (#2788806)
I would prefer learning Javascript (the language) without the distraction of browser. Spidermonkey is available as a package on my OS.
Re:Learn JavaScript by simonsarris on Thursday July 21, 2011 @10:37AM (#2789646)
For the record, the dev version (at least) of chrome will now open developer tools with the F12 shortcut, meaning F12 now works in Chrome/FF/IE9