JavaScript: The Good Parts: The Good Parts by Douglas CrockfordJavaScript: The Good Parts: The Good Parts by Douglas Crockford

JavaScript: The Good Parts: The Good Parts

byDouglas Crockford, Douglas S. Crockford, Douglas

Paperback | May 18, 2008

Pricing and Purchase Info

$33.01 online 
$38.95 list price save 15%
Earn 165 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Available in stores


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.

ConsideredtheJavaScript 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. InJavaScript: 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 tounlearnall 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.

WithJavaScript: 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.

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.
Title:JavaScript: The Good Parts: The Good PartsFormat:PaperbackDimensions:172 pages, 9.19 × 7 × 0.38 inPublished:May 18, 2008Publisher:O'Reilly MediaLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0596517742

ISBN - 13:9780596517748

Look for similar items by category:


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