JavaScript: The Good Parts: The Good Parts and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading JavaScript: The Good Parts: The Good Parts on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

JavaScript: The Good Parts [Paperback]

Douglas Crockford
4.8 out of 5 stars  See all reviews (9 customer reviews)
List Price: CDN$ 29.99
Price: CDN$ 18.80 & FREE Shipping on orders over CDN$ 25. Details
You Save: CDN$ 11.19 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 6 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
Want it delivered Wednesday, October 22? Choose One-Day Shipping at checkout.


Amazon Price New from Used from
Kindle Edition CDN $4.88  
Paperback CDN $18.80  
Join Amazon Student in Canada

Book Description

May 18 2008 0596517742 978-0596517748 1

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.

Special Offers and Product Promotions

  • Join Amazon Student in Canada

Frequently Bought Together

JavaScript: The Good Parts + JavaScript Patterns + JavaScript: The Definitive Guide: Activate Your Web Pages
Price For All Three: CDN$ 71.47

Some of these items ship sooner than the others.

Customers Who Bought This Item Also Bought

Product Details

Product Description

Book Description

Unearthing the Excellence in JavaScript

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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

3 star
2 star
1 star
4.8 out of 5 stars
4.8 out of 5 stars
Most helpful customer reviews
8 of 9 people found the following review helpful
5.0 out of 5 stars Read this first. Oct. 26 2009
If you are new to JavaScript read this one first. Sure you will need to get another general JavaScript, book however at least you will be coding the way JavaScript should be written.

Coming from a C+/C#/VB background I always found JavaScript hard work. I know this is because the debugger etc in Visual Studio hides a lot of complexity and makes it easier for me. However that's the way it should be, I should not have to spend hours or days trying to debug two lines of code.

That aside this book took my OO knowledge and dragged me into the world of classless coding and made it understandable and interesting. Prior to reading this book I found a lot of JavaScript to be confusing and down right dumb. It's still confusing and downright dumb but at least I know why and can attempt to not make the same mistakes.

Please Note. This will NOT teach you how to solve particular problems in JavaScript. What it does is show you the direction you should take to resolve it.

Highly recommended particularly for people new to JavaScript with OO development background.
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars still relevant in 2013 May 31 2013
By Jeremy
Format:Kindle Edition|Verified Purchase
This book pulls no punches. The author tears the language apart and rebuilds it with only the "good parts", showing how to create well-designed, maintainable, and secure programs in Javascript. The core language is not significantly different today than it was when this book was written so it has lost none of its relevance. Highly recommended for experienced programmers who want to lean how to use Javascript properly.
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars Good parts about good parts Sept. 16 2011
The book distills good taste, which is not surprising coming from such author.
Moreover, I don't remember having seen Javascript's inner workings explained so clearly and elegantly.
Last but not least: it's short ... "little is beautiful".
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars great read, very short and to the point May 9 2014
Format:Paperback|Verified Purchase
If you are use to big programming books, this book is nothing like it. The information is concise and to the point. Great read, and enlightening. Having some JavaScript knowledge is helpful, but not necessary.
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Changed my perception of JavaScript Sept. 2 2011
As a Java web developer, I've used JavaScript quite a bit over the years, but never really liked it. Reading this book has changed my entire perception of JavaScript. It has given me a new appreciation of the language. Instead of mechanically explaining the syntax of the language, this book actually explains what is good about JavaScript, how to use it so that it will be a trusty friend (by focusing on its good parts) rather than a troublemaking backstabber (by avoiding the bad, ugly, and awful parts).

I have great respect for the author and appreciate his taking the time to write this book. It was a pleasure to read and got me excited about JavaScript because it was a tremendous help in learning how to use the language properly. Perhaps it is not a book for beginners, but if you know the basics but are tired of "programming by coincidence" and want to learn how to really effectively use the language, and actually have an easier time doing it because you will focus on a few very good parts (and flush out the bad parts from your memory), I highly recommend this book.
Was this review helpful to you?
Want to see more reviews on this item?

Look for similar items by category