JavaScript: The Good Parts
Unearthing the Excellence in JavaScript
Publisher: O'Reilly Media / Yahoo Press
Released: May 2008
Pages: 172
Description
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Companion Products
Recently Viewed
Douglas Crockford JavaScript Master Class
By Douglas Crockford
September 2009
Video: $99.99
Cassandra: The Definitive Guide
By Eben Hewitt
November 2010
Ebook: $31.99
Print & Ebook: $43.99
Print: $39.99
Scaling MongoDB
By Kristina Chodorow
January 2011
Ebook: $16.99
Print & Ebook: $32.99
Print: $29.99
Masterminds of Programming
By Federico Biancuzzi, Chromatic
March 2009
Ebook: $23.99
Print & Ebook: $43.99
Print: $39.99
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyJavaScript: The Good Parts
 
4.1

(based on 12 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (7)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

88%

of respondents would recommend this to a friend.

Pros

  • Concise (6)
  • Accurate (4)
  • Easy to understand (4)
  • Helpful examples (4)
  • Well-written (4)

Cons

  • Not comprehensive enough (3)

Best Uses

  • Intermediate (7)
  • Expert (4)
  • Novice (3)
    • Reviewer Profile:
    • Developer (7)

Reviewed by 12 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

Excellent read

By Ruud

from NL

About Me Designer, Developer, Sys Admin

Verified Reviewer

Pros

  • Accurate
  • Concise

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly JavaScript: The Good Parts:

    Gives you a very workable grip on the subject

     
    4.0

    The most geeky Javascript book...

    By Andrew Ckor

    from Greece

    About Me Designer, Developer

    Verified Reviewer

    Pros

    • Well-written

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly JavaScript: The Good Parts:

      It's one of the most geeky and well written Javascript books in the web era. I think it fits better to the, more familiar with Javascript, users and analyzes the good parts of js.

      Worth buying it!

      (5 of 6 customers found this review helpful)

       
      4.0

      Focused discussion on the parts of JavaS

      By strivinglife

      from Madison, WI

      About Me Developer

      Verified Reviewer

      Pros

        Cons

          Best Uses

          • Intermediate
          • Novice

          Comments about oreilly JavaScript: The Good Parts:

          At the beginning of last month Scott Hanselman had a Hanselminutes episode titled "JavaScript and jQuery: Moving beyond Alert()." During this episode he spoke with two JavaScript ... (experts? gurus?) users, and this book was mentioned as one to read if you wanted to get a better understanding of JavaScript. I primarily use jQuery, but since advanced JavaScript users recommend you go beyond that, I figured it was worth looking into what the author had to say.

          Douglas Crockford also has videos available on Yahoo!, so I started there, where he talks about some of the items brought up in this book. However, since I couldn't focus long enough on the videos, and find reading to be a better experience, I picked up a copy of his book.

          There were two things I wanted to get out of this book. First, I wanted to understand the best way to write my code, to have the least impact on others. Second, I wanted to gain at least a couple good tips about how JavaScript works 'under the hood.'

          Having read the book I now have a better idea of what avenue to pursue for the first, to make my JavaScript code much more object-orientated (Closures). I also gained more than a dozen helpful tidbits reading the book, that did indeed further my knowledge of JavaScript, that will result in better code, no matter whether I use a library/framework or not.

          The book is indeed short, and I was able to sit down with it and read it over the course of a handful of hours, although I expect to go back and read at least one of the chapters again (and keep the book around as a reference, since I purchased an electronic copy).

          There are a handful of sections that are stepping stones to the functionality that should actually be used, and if you have no plans to use his JSLint analyzer, then one chapter will be unnecessary. However, while I was on the fence about passing code through it before, having now read his book, and the chapter where he details, again, the specifics on why JSLint flags certain JavaScript code, I believe I'll now actually run some code through it, once I implement his other recommendations.

          But, as noted above, I did indeed learn a number of new things about JavaScript, that will help me write better code.

          As already mentioned, I purchased an electronic copy of the book, and therefore can't speak to the quality of physical copies. However, I've generally found O'Reilly books to be well made.

          Four of five stars, since I believe the free videos he did will help a number of people that learn that way, thereby making the purchase of this book unnecessary, as well as that he could have trimmed some of the extraneous material from this book to make it that much more concise.

          (11 of 12 customers found this review helpful)

           
          4.0

          Now I know what sets JavaScript apart

          By admataz

          from London

          About Me Developer

          Pros

          • Concise
          • Helpful examples

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly JavaScript: The Good Parts:

            "Programming is difficult business," says Douglas Crockford in the opening chapter. "It should never be undertaken in ignorance." It dawns on me as I read on, I have been struggling with JavaScript for years in ignorance.

            JavaScript is not like other languages, it requires a different programming paradigm. I knew of JavaScript's prototypal and functional nature, but I hadn't ever grasped the power of lexical scoping, closure and object literals covered here.

            Another common struggle with JavaScript is its faults. "Quality was not a motivating concern in the design, implementation, or standardization of JavaScript," says Crockford. "That puts a greater burden on the users of the language to resist the language's weaknesses." This book describes a subset of JavaScript that we can use safely and that keeps its elegance, flexibility and highly expressive power.

            And there is more: A brief reference to standard JavaScript methods, a chapter on Style that makes the case for well written code, a detailed examination of Regular Expressions that made my head hurt, diagrammatic documentation of JavaScript grammar and syntax, and invaluable references to JSLint (a code quality tool) and JSON (the data interchange format).

            All of this in 176 pages.

            I became a fan of Douglas Crockford's work after watching his excellent "Crockford on JavaScript" lecture series online. Five lectures changed the way I think about JavaScript. I was delighted to receive a free copy of JavaScript: The Good Parts as part of the O'Reilly Blogger Review Program and to have the opportunity to explore this topic further and put my thoughts together.

            (2 of 63 customers found this review helpful)

             
            1.0

            Woefully Incomplete

            By Steve D

            from Green Bay, WI

            About Me Educator

            Verified Reviewer

            Pros

            • Concise
            • Easy to understand
            • What there is is good

            Cons

            • Not comprehensive enough
            • Too many omissions

            Best Uses

              Comments about oreilly JavaScript: The Good Parts:

              Apparently the "best parts" of Javascript don't include mouse events, input, and so on. Now if the audience is people who know Javascript so cold they don't need that information, fine. Then why include all that elementary information on grammar and functions? And why use those clunky "railroad" diagrams instead of pseudocode, which takes up only a quarter of the space? Better yet, more actual examples of real code.

              (10 of 10 customers found this review helpful)

               
              4.0

              Short and sweet

              By faB

              from Belgium

              About Me Developer

              Verified Reviewer

              Pros

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

              Cons

              • Not comprehensive enough

              Best Uses

              • Expert
              • Intermediate
              • Novice

              Comments about oreilly JavaScript: The Good Parts:

              Finally, a programming book that I can read from front to back! Don't you hate it how all these programming books have to be hundred pages thick bricks that you'll never in your life read entirely?

              This book is awesome simply because Douglas Crockford was artful enough to be succinct and to the point. What a pleasure to be able to read a book on Javascript from front to back, and feel like you've actually learned something!

              Other reviews may miss the point. Being exhaustive is NOT useful, nor is it practical. Crockford homed in on all the good parts, so that you don't have to waste hundred hours learning parts that don't work, or that you wouldn't want to use anyway.

              What can I say, this is the anti-thesis of those god-awful "Bible of XYZ" books, which have no purpose whatsoever anymore in the age of Google Search, and IDE inline documentation. This book however, has a purpose in that it makes an intelligent summary of the Javascript language that you can hope to read within a week.

              (12 of 14 customers found this review helpful)

               
              4.0

              Good for intermediate JS programmers

              By Mitch

              from Raleigh, NC

              About Me Developer

              Verified Reviewer

              Pros

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

              Cons

              • Not comprehensive enough

              Best Uses

              • Intermediate
              • Student

              Comments about oreilly JavaScript: The Good Parts:

              The reader of "JavaScript: The Good Parts" by Douglas Crockford will get a very good idea of why JavaScript is considered a runt among programming languages. Crockford does his best to model good programming patterns and style in JavaScript. It is unfortunate and telling that the book is so thin. Crockford neither pulls his jabs at the language nor dumps on it unfairly, but gives a clear rationale for his opinions.

              Like JavaScript, the book is more sure of what it is not than of what it really wants to be. Readers should read the preface seriously before going further -- but ignore the contradictory second sentence stating it is for programmers working with JavaScript for the first time. The book will interest language nerds, but it really should be read by intermediate JavaScript programmers who spend too much time debugging code they should never have written.

              The short chapters make the book a relatively quick read, despite the somewhat advanced level of the material compared to other JavaScript books. Upon first glance at the size of the book, I was reminded of The Little Schemer (a tutorial on the Scheme programming language). Crockford's writing is easy to read, as if you were collecting thorough notes over a long series of lunch time talks. Incidentally, the structure of the book is unlike "Little Schemer" but Crockford does touch on functional programming techniques.

              This book has a strong overtone of frustration with JavaScript. That isn't a criticism of Crockford, but sprinkled throughout the material are the tell-tale signs of what could have been, or should have been, but can never, ever be. It truly gets to a head in Chapter 9, titled "Style", in which 11 paragraphs in three pages start with "I". It is personal for Crockford.

              Readers should be aware that there is virtually no error checking in the code. While omitting error checks is a common practice in trade book code samples, Crockford is making a point of illustrating good coding practice. The absence of a disclaimer is odd, but several of Crockford's examples do deal specifically with faulty conditional expressions. Take his warning in the preface to heart again here: "JavaScript: The Good Parts" won't tell you everything you should be doing to write good code.

              JavaScript: The Good Parts is not a real reference, but if you do sporadic JavaScript programming it may be a book you will pick up again several times. That's because it is small enough and concise enough to act as a quick reference to the stuff that really is worth using, and some of the parts that really are best avoided

              (6 of 7 customers found this review helpful)

               
              5.0

              The best JavaScript book available

              By FluffyClouds

              from London

              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:

                This is the most accurate and well-written book on JavaScript currently available. A must-read for anyone who writes production JavaScript code. Crockford teaches the correct use of JavaScript.

                (4 of 6 customers found this review helpful)

                 
                5.0

                brilliant book from a brilliant Man!

                By Midooh

                from Undisclosed

                Comments about oreilly JavaScript: The Good Parts:

                I really got alot of that book in JavaScript in specific, and in programming in general.I have read alot of JavaScript books but none of which handles these vital subjects about the language as JavaScript:The Good Parts does!

                (3 of 3 customers found this review helpful)

                 
                5.0

                Best JavaScript book I have read

                By Chris Brandsma

                from Undisclosed

                Comments about oreilly JavaScript: The Good Parts:

                Wonderful book. Succinctly covers the language, and the parts of the language that I needed help with, and made me aware of things I did not know I needed help with.

                It was just what I was hoping for.

                Displaying reviews 1-10

                Back to top

                Previous | Next »

                 
                Buy 2 Get 1 Free Free Shipping Guarantee
                Buying Options
                Save a Tree - Go Digital  what is this?
                Ebook: $23.99
                Formats: APK, DAISY, ePub, Mobi, PDF
                Print & Ebook: $32.99
                Print: $29.99