JavaScript: The Good Parts: The Good Parts

JavaScript: The Good Parts: The Good Parts

by Douglas Crockford


$26.99 $29.99 Save 10% Current price is $26.99, Original price is $29.99. You Save 10%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Wednesday, January 23

Product Details

ISBN-13: 9780596517748
Publisher: O'Reilly Media, Incorporated
Publication date: 05/15/2008
Pages: 172
Sales rank: 318,366
Product dimensions: 7.00(w) x 9.08(h) x 0.44(d)

About the Author

Douglas Crockford is a Senior JavaScript Architect at Yahoo!, well known for introducing and maintaining the JSON (JavaScript Object Notation) format. He's a regular speaker at conferences on advanced JavaScript topics, and serves on the ECMAScript committee.

Table of Contents

  • Dedication
  • Preface
  • Chapter 1: Good Parts
  • Chapter 2: Grammar
  • Chapter 3: Objects
  • Chapter 4: Functions
  • Chapter 5: Inheritance
  • Chapter 6: Arrays
  • Chapter 7: Regular Expressions
  • Chapter 8: Methods
  • Chapter 9: Style
  • Chapter 10: Beautiful Features
  • Awful Parts
  • Bad Parts
  • JSLint
  • Syntax Diagrams
  • JSON
  • Colophon

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

JavaScript: The Good Parts: The Good Parts 3.5 out of 5 based on 0 ratings. 20 reviews.
Anonymous More than 1 year ago
I really enjoyed reading this book. It has really helped me settle on some structures that I stick to when I develop now. The only reason I did not give this book 5 stars is because alot of the material is very opinionated. Also, I am a strong supporter of the continue statement. I have absolutely no idea why it would fall in the "bad parts" category.
benedetto.fiorelli on LibraryThing 5 months ago
some of the topics touched by this book are very important but it's a pity that at times the narration is very very dry, it becomes like a conversation between the author and a reader that needs to know a priori what the author is going to point or at least have a feeling about it. Examples are not enough and they are outside of a context or story so it's fairly difficult to get the whole picture unless you let yourself drive by an illusion of knowledge. Maybe a design patterns approach, at least for some topics, showing alternatives and forces and contexts, would have helped. But is also true that the book would have been much much bigger and maybe too expensive.For example if you want to learn about closures, callbacks and other patterns in practice, there are better resouces, for example Stoyan Stefanov books. Of course this book has the merit to be one of the first to focus on design issues and reading it will not be bad anyway.And the book is designed to cover only the ECMA specification, not the various practical uses of the language in contexts like browsers, scripting engines, etc. So, concluding, this book shall be good for Javascript experts that are just looking for a formalization of important core language best practices or for those that have followed for long time the wrong directions (as the author says too many wrong books have been written on javascript) and want to steer in the right way, knowing that maybe they will also need to look for other resources. But is not the best for the wider audience of programmers that want to learn Javascript the right way and in its most practical applications.
lyzadanger on LibraryThing 5 months ago
Crockford, the irreverent guru, takes us on a whirlwind tour de force through the parts of JavaScript that matter. Condensed and pithy, this is a must-read guidebook for even seasoned web devs. Finally. I understand closures. Finally.
tlockney on LibraryThing 5 months ago
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.
Redsaz More than 1 year ago
For programmers of other programming languages, C/C++ or Java especially, that want to rapidly learn quality, effective JavaScript should read this book. The focus is on the JavaScript language itself, with very little mention of browser-specific details like DOM. It is certainly a no nonsense book; the terseness is a blessing. You'll begin learning immediately on the first chapter since all of the "beginner" topics so commonly found in these books, like "What is a variable? What is a function? Why a text editor and not a word processor?" are removed. Instead you find out what the good parts and bad parts are and why, like it says on the tin. In summary: If you can program already, and need to be brought up to speed on good JavaScript style, then this book will serve you well.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
HopeH More than 1 year ago
I'm still not finished. I bought the book because I wanted to brush up on JavaScript since I took it awhile ago in school. It is FULL of great information, but it is so deep that I am buying another book to go along with it: Object-oriented JavaScript.
Anonymous More than 1 year ago
Guest More than 1 year ago
That's Crockford's approach to Javascript. I expected more. The examples were poor and he actually defends them by saying you just have to read them carefully. I think the lessons are muddled and if you're familiar with Crockford then you already know most of what's in this book.
Anonymous More than 1 year ago
Lots of fluff. Doesn't explain well. I am an experienced programmer with 30+ years experience in assembly,C, C++, Java, C#.Net, PHP, and other languages, but this book doesn't help me learn Javascript. Many page links don't work. I'm deleting this from my NOOK HD+
Guest More than 1 year ago
Often this is said as if teaching were an accomplishment of less importance and requiring less skill. But whatever skills Crockford has and whatever information/advice he has to share are completely lost in his inability to teach. This book is terse, brief to the point of obscurity, lacking in explanation, and rushing to show quick, poorly documented examples so that everyone will be impressed with his ability to 'do' even though there is no clear exposition on how all the pieces of the examples work. Having worked deeply in JavaScript for well over a decade I have discovered and utilized many of the ideas here (and was happy to find some new ones), but it is unlikely that anyone who wasn't almost continually sumberged in Javascript day-in and day-out for many years would be able to draw anything constructive out of this book.