in reply to [OT] How do I really learn javascript?

Personally, I didn't find much to learn about JavaScript because most things in JavaScript are almost like things in Perl except that JavaScript is more verbose in important places like anonymous functions. The one thing that I found very instructive is the discussion of how to implement classical inheritance in JavaScript - that taught me the missing bits about how the object model is classless and how one can abuse it to implement real classes.

I guess that the Rhino book is the definitive reference to JS, but I haven't looked into it.

One day, I might actually write the Perl Traveler's Language Guidebook that teaches languages as "Differences from Perl"...

  • Comment on Re: [OT] How do I really learn javascript?

Replies are listed 'Best First'.
Re^2: [OT] How do I really learn javascript?
by jds17 (Pilgrim) on Jun 04, 2008 at 11:48 UTC
    The new book "JavaScript: The Good Parts: Working with the Shallow Grain of JavaScript" by Douglas Crockford (O'Reilly) has got very good reviews (I certainly do not like all O'Reilly books, this is no ad...)

    I use a bit Javascript too, but have never gotten too far into it and from what I read it seems that from this book you could learn some good practices about how to use Javascript as well as an overview what this language is / could be about from a higher perspective.

    In fact, I think I will read the book, soon.