JavaScript: The Good Parts
Unearthing the Excellence in JavaScript
Publisher: O'Reilly Media / Yahoo Press
Released: May 2008
Pages: 172

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. 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.

Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables.

When Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language. In JavaScript: The Good Parts, Crockford finally digs through the steaming pile of good intentions and blunders to give you a detailed look at all the genuinely elegant parts of JavaScript, including:

  • Syntax
  • Objects
  • Functions
  • Inheritance
  • Arrays
  • Regular expressions
  • Methods
  • Style
  • Beautiful features

The real beauty? As you move ahead with the subset of JavaScript that this book presents, you'll also sidestep the need to unlearn all the bad parts. Of course, if you want to find out more about the bad parts and how to use them badly, simply consult any other JavaScript book.

With JavaScript: The Good Parts, you'll discover a beautiful, elegant, lightweight and highly expressive language that lets you create effective code, whether you're managing object libraries or just trying to get Ajax to run fast. If you develop sites or applications for the Web, this book is an absolute must.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Companion Products
Douglas Crockford JavaScript Master Class
By Douglas Crockford
September 2009
Video:  $99.99
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyJavaScript: The Good Parts
 
4.2

(based on 30 reviews)

Ratings Distribution

  • 5 Stars

     

    (14)

  • 4 Stars

     

    (12)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (1)

84%

of respondents would recommend this to a friend.

Pros

  • Concise (20)
  • Accurate (19)
  • Well-written (14)
  • Easy to understand (12)
  • Helpful examples (12)

Cons

  • Difficult to understand (5)
  • Not comprehensive enough (4)

Best Uses

  • Intermediate (21)
  • Expert (16)
  • Novice (9)
  • Student (6)
    • Reviewer Profile:
    • Developer (20), Designer (3)

Reviewed by 30 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

Amazing

By Nikolay

from Ukraine

Pros

  • Accurate
  • Easy to understand
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly JavaScript: The Good Parts:

    Easy to read, easy to understand.

     
    5.0

    Excellent Primer for JS Developers

    By Gary Temme

    from NorthTustin, CA

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Novice
      • Student

      Comments about oreilly JavaScript: The Good Parts:

      This book does a great job covering the many areas of JavaScript that may not behave as expected for developers with backgrounds in other programming languages. Appendixes A and B are especially helpful in avoiding some of the major gotchas in JavaScript.
      Fast and Concise read. Great work.

       
      4.0

      Great reference

      By dpskvn

      from Croatia

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly JavaScript: The Good Parts:

        I think that the worst part of this book (if you can call it that) is the fact that a lot of websites/resources/guides/books mention this title as a great introduction to JavaScript, something that this book simply isn't. It's a great re-introduction to JavaScript, one that you should read after developing a certain level of skill in JavaScript development. If you are just starting with JavaScript, pick another book, and then come back to this one, you won't regret it.

         
        4.0

        Don't blame the messenger

        By bgschaid

        from Austria, Europe

        About Me Developer

        Verified Buyer

        Pros

        • Concise

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly JavaScript: The Good Parts:

          As I'm stumbling on JavaScript from time to time I wanted to have a look at the language without spending too much time on it.
          For that purpose it is a nice book (especially the brevity).
          That the language is horrible is not the fault of the book

           
          5.0

          Excellent Book Crockford Rocks

          By Jason Robertson

          from Melbourne Australia

          About Me Developer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly JavaScript: The Good Parts:

            This is a well written to the point immediately useful book which is still relevant.

             
            5.0

            Every JS Developer should read this book

            By OldGeek

            from USA

            About Me Developer

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly JavaScript: The Good Parts:

              This book has rightfully become a classic, and may be one of the single most influential JS books around. It's well written and the content is excellent. It is dense, but in a good way.

              I agree it's not for beginners, but any intermediate or more advanced JS developer should read this book.

               
              5.0

              Very well compiled essence of JS

              By Csaba Toth

              from Fresno, CA

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate
                • Novice
                • Student

                Comments about oreilly JavaScript: The Good Parts:

                I read a little bit of this book every morning and evening. It's a great book for those who start with JavaScript, it can save lots of hoops. This book is an art. It was easy to follow, very clear, it saves time.

                (1 of 2 customers found this review helpful)

                 
                5.0

                Very well compiled essence of JS

                By Csaba Toth

                from Fresno, CA

                About Me Developer

                Verified Reviewer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Short
                • Well-written

                Cons

                • Unnecessary Shakespeare Q

                Best Uses

                • Intermediate
                • Novice

                Comments about oreilly JavaScript: The Good Parts:

                In a busy life a of a developer it is very important to get information in a quick, well compiled, easy to understand way. This is very hard to achieve, but that book does an outstanding job in that. It's dense, but still contains the important things to know about JavaScript. Even more. (It was hard to think of any cons. Only thing: I skip the Shakespeare quotes in the beginning of the chapters to stay focused on the content. But I don't say that's it's bad.)

                (1 of 9 customers found this review helpful)

                 
                2.0

                Very dense book, lots of information

                By Cristiano

                from Carlsbad, CA

                About Me Developer

                Verified Reviewer

                Pros

                  Cons

                  • Difficult to understand

                  Best Uses

                  • Expert

                  Comments about oreilly JavaScript: The Good Parts:

                  It is a relatively small book with a lot of information in it. I think part of the difficulty on understanding the contents of the book was due to JavaScript itself but also the very condensed way the book presents the content. You will need to read some parts several times to starting grasping the concepts.

                  (0 of 1 customers found this review helpful)

                   
                  5.0

                  Very insightful book

                  By Oleg Zhylin

                  from San Diego, CA

                  About Me Developer

                  Verified Reviewer

                  Pros

                  • Accurate
                  • Concise
                  • Well-written

                  Cons

                    Best Uses

                    • Expert
                    • Intermediate
                    • Novice

                    Comments about oreilly JavaScript: The Good Parts:

                    Doug Crockford does an amazing job explaining what is the language that feels so wrong to a C++ programmer is all about. Both this book and the videos the author did at yahoo some years ago made me feel prepared to learn what I need to know about JavaScript to drive my upcoming projects to success. The things I should know I learned and continue learning from this book.

                    Displaying reviews 1-10

                    Back to top

                    Previous | Next »

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook: $23.99
                    Formats:  APK, DAISY, ePub, Mobi, PDF
                    Print & Ebook: $32.99
                    Print: $29.99