Quote:Quote:
Best way to learn a programming language is to have a project that requires it.
Absolutely. This is also how I learned javascript, and how I learned to enjoy coding in javascript. I had something in mind I wanted to do, not a marketable app, necessarily, just something for fun. I learned enough javascript to be able to do it, and that was quite a bit of javascript.
When I was finished, though, I realized that I didn't really understand javascript's object model very well, and this would trip me up on other projects. Additionally, I realized I probably was not following anything like best practices (which I think are especially important in js, because browsers are forgiving and will run broken code whenever they can). So I've found some resources for learning this language.
For those who like a structured learning approach, I recommend looking at http://javascriptissexy.com/how-to-learn...-properly/ . Lots of other good resources are listed on this stack overflow thread: http://stackoverflow.com/questions/11246...javascript . I like http://eloquentjavascript.net/ due to its writing style.