1st out of 41 books
—
71 voters
Goodreads helps you keep track of books you want to read.
Start by marking “JavaScript: The Good Parts” as Want to Read:
JavaScript: The Good Parts
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 crea
...more
Paperback, 153 pages
Published
May 15th 2008
by Yahoo Press
(first published January 1st 2008)
Friend Reviews
To see what your friends thought of this book,
please sign up.
Reader Q&A
To ask other readers questions about
JavaScript,
please sign up.
Popular Answered Questions
Community Reviews
(showing 1-30)
A short, dense book, describing a subset of Javascript and distinguishing which parts of the language "should" be used and which not. The author wrote JSLint, a widely-used tool for enforcing his preferences on your scripts. The preferences he wrote into JSLint are reflected here.
Some of his opinions seem obsessive and eccentric (it's not OK to write "i++"?), but others are invaluable. For example, you should make a habit of following the Kernighan & Ritchie style of braces: that is, you sho ...more
Some of his opinions seem obsessive and eccentric (it's not OK to write "i++"?), but others are invaluable. For example, you should make a habit of following the Kernighan & Ritchie style of braces: that is, you sho ...more
Jan 07, 2010
Lea Verou
rated it
really liked it
Recommends it for:
Programmers (of other languages) who want to learn JavaScript
Crockford's book is already considered one of the classic JS books and I agree. Not because its complete (it only touches ECMAScript core, not even DOM), or particularly good at making things seem simple (it probably makes them look overcomplicated). Its because it approaches JavaScript in a completely different way than probably any other book you've read. It broadens your horizons as a JS developer, makes you think differently. And as soon as you finish it, you haven't only learned a few facts
...more
For an experienced developer who’s hacked things together while glancing at an online reference, JavaScript: The Good Parts seems like a good place to start learning the language properly. As the title indicates, the book consists of Crockford’s opinions about how to use JavaScript’s better features and avoid the bad ones. Being a relative JS novice, it’s hard for me to evaluate his judgements, but I’m glad to now have at least someone’s best practices to work with. Crockford’s descriptions of J
...more
Returning to serious JS programming after a long hiatus. When you pick up the rhino book (O'Reilly's definitive tome on JS) and thumb through it, you notice that it is written from the perspective of JS being introduced to the industry. It's all functional programming, browser-oriented, and thought of as an API to "make the monkey dance", rather than a serious programming language.
This book takes the opposite view in nearly every way. It's written from the perspective of someone who has lived wi ...more
This book takes the opposite view in nearly every way. It's written from the perspective of someone who has lived wi ...more
I don't think the importance of JavaScript in our current world can be overstated. Nor can the work of Douglas Crockford to legitimize JavaScript by extracting and promoting subsets of the language which are brilliantly designed. In the case of JSON, he recognized JavaScript's object notation as a wonderful and concise way to describe data structures. In my opinion, JSON is vastly superior to XML in every way.
I came to this book after watching Crockford's wonderful companion lecture at Google Te ...more
I came to this book after watching Crockford's wonderful companion lecture at Google Te ...more
I don't understand the consistently high rating this book gets. While the concept is excellent - filet-o-javascript - the execution has serious failings.
It starts well with the early chapters but as soon as it reaches the the more challenging stuff - clousures and prototypical inheritance - I found myself having to reach for the superior 'Object-Oriented JavaScript' to understand what was being described each time.
I don't care how many times you re-read it - per the author's admonition at the be ...more
It starts well with the early chapters but as soon as it reaches the the more challenging stuff - clousures and prototypical inheritance - I found myself having to reach for the superior 'Object-Oriented JavaScript' to understand what was being described each time.
I don't care how many times you re-read it - per the author's admonition at the be ...more
Many programming books are funny because their authors make jokes. Why's (Poignant) Guide to Ruby comes to mind. Javascript: The Good Parts, however, is the first programming book that has ever made me laugh out loud when the author wasn't telling a joke. Case in point:
undefined and NaN are not constants. They are global variables, and you can change their values. That should not be possible, and yet it is. Don't do it.Any developer who has ever written Javascript is likely to have been confound ...more
As an experienced JavaScript programmer, I was looking around for introductory books for my friends who are just starting their programming journeys so this book came up in the usual lists of modern JavaScript books.
This book was a huge disappointment. The authors ability to turn even simple concepts into confusing railroad diagrams coupled with explanations that do not make any sense even to someone well versed in the subject is absolutely astounding.
It feels like the book doesn't quite know w ...more
This book was a huge disappointment. The authors ability to turn even simple concepts into confusing railroad diagrams coupled with explanations that do not make any sense even to someone well versed in the subject is absolutely astounding.
It feels like the book doesn't quite know w ...more
My new JavaScript reference. This book takes a stand in defining the good features of JavaScript banning the rest as evil or not useful. It even introduces a linter that enforces the above! It does all of this in 150 pages or so. The "good" parts are actually described in the first 100 pages. That's it.
The book is not for complete novices to programming: e.g. the while loop is explained in 2 lines. Syntax diagrams are used to explain every construct. However, if you have programmed in other lang ...more
The book is not for complete novices to programming: e.g. the while loop is explained in 2 lines. Syntax diagrams are used to explain every construct. However, if you have programmed in other lang ...more
Apr 04, 2010
Rob
rated it
really liked it
Recommends it for:
intermediate-level JavaScript nerds looking to learn the "A" game
Recommended to Rob by:
Jonathan Phillips
"There is danger and misery at the edges."
As the title implies, Douglas Crockford takes a subset of JavaScript, identifies it as "the good parts" and proceeds to explain why these parts are good (and should therefore be used). Crockford commends JavaScript for being a very expressive language but is also honest about the failings of individual parts (e.g., how arrays aren't really arrays but are in fact "array-like objects") and proposes some genuine solutions for them that do not involve abando ...more
As the title implies, Douglas Crockford takes a subset of JavaScript, identifies it as "the good parts" and proceeds to explain why these parts are good (and should therefore be used). Crockford commends JavaScript for being a very expressive language but is also honest about the failings of individual parts (e.g., how arrays aren't really arrays but are in fact "array-like objects") and proposes some genuine solutions for them that do not involve abando ...more
On December 8, 2014, President Barack Obama became the first president of the United States to write a computer program (at least while in office). It was part of a national campaign to get young people interested in software development. What language did the leader of the free world use to make history? JavaScript.
That marks just another milestone in the history of this tragic, wonderful, misunderstood language. Calling it a Shakespearean tragedy would be appropriate since Crockford's authorit ...more
That marks just another milestone in the history of this tragic, wonderful, misunderstood language. Calling it a Shakespearean tragedy would be appropriate since Crockford's authorit ...more
JavaScript is a language of great contradiction. It is one of the most widely used programming language. But the language has also carries a lot of design problems, many have born from its original sponsors' Microsoft and Netscape's bitter rivalry.
Douglas Crockford has the idea to highlight the good part of the language but also to warn the unsuspecting programmers of its bad parts. He deliberately select a subset of the language and put it into a small book. While this is a commendable approach ...more
Douglas Crockford has the idea to highlight the good part of the language but also to warn the unsuspecting programmers of its bad parts. He deliberately select a subset of the language and put it into a small book. While this is a commendable approach ...more
This would be a 3.5 star is I could rate it that. I think my expectations were off going into this, as I expected an "in depth" look at language features for people who already knew JavaScript. Instead, I felt like it was also trying to teach the language to newcomers and spent a lot of time on bits and pieces that I would assume someone who works with the language would already know.
It moves incredibly quickly, which for the most part is a point in its favor. In several spots, though, I wish th ...more
It moves incredibly quickly, which for the most part is a point in its favor. In several spots, though, I wish th ...more
A concise, opinionated coverage of JavaScript for experienced developers. This is not a beginners book.
The book begins by describing the language Grammar using railroad diagrams. This is immensely helpful in forming a mental diff against whichever imperative C-based language you're coming from (C, C++, Java, etc.).
I found the coverage of object construction (new, constructor functions) confusing. I had to re-read it to understand what was going on. This is partly due to JavaScript's pandering to ...more
The book begins by describing the language Grammar using railroad diagrams. This is immensely helpful in forming a mental diff against whichever imperative C-based language you're coming from (C, C++, Java, etc.).
I found the coverage of object construction (new, constructor functions) confusing. I had to re-read it to understand what was going on. This is partly due to JavaScript's pandering to ...more
Crockford writes persuasively about the elegant and powerful features that lurk within Javascipt that often get forgotten about due to the (admittedly numerous) failings in other parts of the language.
By restricting yourself to only the good parts, and taking some simple steps to mitigate the bad as far as possible, Crockford shows how it is possible to write Javascript programs that are readable and maintainable. Which might come as a surprise to many of the Javascript sceptics out there, and I ...more
By restricting yourself to only the good parts, and taking some simple steps to mitigate the bad as far as possible, Crockford shows how it is possible to write Javascript programs that are readable and maintainable. Which might come as a surprise to many of the Javascript sceptics out there, and I ...more
This book is like the Invisible Cities or Molloy of programming books. It really pares stuff down in an eccentric way, so that on first glance the author comes across as a masochistic pedant (++ and -- are bad parts?!), but on second glance he is more like an advanced alien lifeform revealing new dimensions of consciousness to you.
JavaScript is a really weird language. Nobody told me that when I started to learn it. But it's expressive and adaptable, and when it works for something, it really, r ...more
JavaScript is a really weird language. Nobody told me that when I started to learn it. But it's expressive and adaptable, and when it works for something, it really, r ...more
This is a must-read book if you use Javascript seriously. When I put the book down, I'd learned and understood a few critical ideas about using Javascript that are changing the way I program. In particular, I found the section related to object creation (prototypal inheritance, implications for using the new keywords, etc.) I also greatly enjoyed the appendices -- I eat up lists like the awful and bad parts of Javascript, and the introduction to JSLint is going to be very fruitful. Not everythin
...more
"JavaScript: The Good Parts" is a somewhat terse read; fortunately, in that terseness, the book is incredibly efficient at defining a safer, smarter way to use the JavaScript programming language--without wasting the reader's time. On the other hand, since there are not a lot of examples or exercises included with the book, the topics are still somewhat nebulous until the reader goes and tries them out elsewhere. "JavaScript: The Good Parts" would best serve as a handy reference book while one i
...more
Very short with good examples. Gives you an overview of the Javascript parts that are supposedly "good". Let's see whether that promise holds up in the real world, but I certainly have an appreciation for Javascript that I did not have before.
The only Javascript book I ever read and if it did it's job also hopefully the last one. (I will never read you, JavaScript: The Definitive Guide, you and your beastly 1000+ pages.)
The only Javascript book I ever read and if it did it's job also hopefully the last one. (I will never read you, JavaScript: The Definitive Guide, you and your beastly 1000+ pages.)
This along with JavaScript: The Definitive Guide are the two must read books for any JS programmers out there. Crockford lays out in very clear terms what's good (and bad) about JS in it's current form. His guidelines for how to use it effectively seem very solid based on my experiences.
It helps that you can easily read through the majority of this book in a couple hours. But it's also one to keep around and flip through every so often when you need a refresher.
It helps that you can easily read through the majority of this book in a couple hours. But it's also one to keep around and flip through every so often when you need a refresher.
The first and last book you should choose when learning JavaScript. It will guide you through the darkness of some bad language features to the lightness of clean and well written JavaScript code.
Well written, extremely well divided into meaningful chapters this book should be used as a reference for everyone using JS in their work. Must have in your professional bookshelf!.
Well written, extremely well divided into meaningful chapters this book should be used as a reference for everyone using JS in their work. Must have in your professional bookshelf!.
| topics | posts | views | last activity | |
|---|---|---|---|---|
| Software Craftmanship | 1 | 6 | Aug 09, 2015 04:36PM | |
| Depending On How Long You've Smoked, How Much You Smoke, And Genetic Factors, You May Find It Extremely Difficult To Quit Smoking. | 1 | 1 | Apr 26, 2015 07:36PM | |
| Cigarette Smoking Somehow Becomes An Extension Of Their Social Life, Particularly When They Are Emotionally At The Highest Or Lowest. | 1 | 1 | Apr 26, 2015 06:56PM | |
| A Background On Rational Strategies In Cannabis Seeds | 1 | 1 | Apr 26, 2015 05:12PM | |
| Excellent Tips To Make The Most Out Of Coupons | 1 | 1 | Apr 26, 2015 05:08PM | |
| Some Updated Guidelines For Wise Prosper Marketplace Methods | 1 | 1 | Apr 26, 2015 04:45PM | |
| Some Emerging Guidelines On Essential Criteria For Natural Skin Care Products | 1 | 1 | Apr 26, 2015 04:41PM |
Goodreads is hiring!
Share This Book
No trivia or quizzes yet. Add some now »
“Computer programs are the most complex things that humans make.”
—
9 likes
“We see a lot of feature-driven product design in which the cost of features is not properly accounted. Features can have a negative value to customers because they make the products more difficult to understand and use. We are finding that people like products that just work. It turns out that designs that just work are much harder to produce that designs that assemble long lists of features.”
—
8 likes
More quotes…































Aug 22, 2014 01:12PM
Apr 29, 2015 06:06AM
Feb 12, 2016 12:59PM