JavaScript: The Good Parts

JavaScript: The Good Parts
By Douglas Crockford

List Price: $29.99
Price: $19.50 Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

100 new or used available from $8.77

Average customer review:
(574 customer reviews)

Product Description

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.


Product Details

  • Amazon Sales Rank: #15393 in Books
  • Brand: imusti
  • Published on: 2008-05
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.19" h x .38" w x 7.00" l, .64 pounds
  • Binding: Paperback
  • 176 pages

Features

  • O Reilly Media

Editorial Reviews

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.


Customer Reviews

Most helpful customer reviews

0 of 0 people found the following review helpful.
5Direct Content for Strong Developers Moving to JavaScript
By Amazon Customer
I have decided to add JavaScript to the very long list of languages I've used in my career. Hands down, this book is absolutely perfect for the well seasoned software engineer looking for a no nonsense, no fluff, to the point, direct in content, high on information, short on explanation book about HOW TO PROPERLY USE JavaScript.

Don't pay attention to the comments about this book not having direction or too much fluff. Those are opinions of readers who did not have the capability to understand the content. I can say this because I have read this book many times and to be truthy, I didn't understand but maybe 50% of the content on initial readings.

This book is only about 100 pages (50 of which are the true core) of rock hard content. This is the book for a well seasoned traditional software engineer to begin learning JavaScript.

If you want an easier JavaScript book to read, I suggest following the instructions given in the book on page 3, "If you want to learn more about the bad parts and how to use them badly, consult any other JavaScript book."

2 of 2 people found the following review helpful.
5Helping the best to win
By Daniel Bond
In one of his videos, Douglas Crockford states: "JavaScript is a language that most people don't bother to learn before they use. You can't do that with any other language. And you shouldn't want to." Crockford has well-founded opinions and he isn't shy about expressing them. Just because you *can* do something doesn't mean you should do it. Crockford explains what and why not without wasting a lot of pages.

Chapters 3, 4 and 5 are the heart of the book. These thirty-six pages more than justify the book's cost. I tend to buy smaller books these days. This book reached a new high for the amount of useful content divided by price. (Rivaled by the "K & R" book. But have you priced that sucker lately?)

If you're new to Javascript and/or programming and wonder whether you should buy this book: go ahead. You will get more out of it than you might expect. Some chapters, such as "Arrays" are not difficult and allow a bit of relaxation. I personally like the railroad diagrams. These grammar diagrams are repeated in the back of the book -- a bit of redundancy.

I have to stretch to find something to gripe about, but here goes. In places, Crockford's explanation of a language flaw or limitation is immediately followed by a fix, usually by augmenting one of the base prototypes. It likely shows my own unfamiliarity with his subject matter, but I find these "corrections" jarring: I haven't yet grasped all the language features and here you are changing them in front of me. I'm not sure whether moving these fixes to a separate section(s) would be an improvement. Perhaps not.

Overall, a great read. Something you can refer to many times.

0 of 0 people found the following review helpful.
5Excellent fast-track book for major usage features
By gcr
If you are new to JavaScript, then you have voluminous options available to your
for your pursuit of knowledge. In my case, I started with the ECMA-262 standard
for ECMAScript 5. You can tell that there was a lot of love there; though it
wasn't really the right place (at least for me) to get started. Instead I wanted
a "when the tires hit the pavement" overview, and the book delivered that.

The book is lovingly written in a way that all technical people should behave,
or for that matter, every conscious entity should behave: focus on the positive,
respect the negative, and move on with life. The book covers tons of great guts
of the language and how to use it "for real". I need not say more, the book
delivers on its promises, and that is why I gave it a 5/5.

The Kindle version looks great, everything is readable. The chapters and
sections are light and terse, you get a lot of bang for your buck. In terms of
the voice, it wasn't my personal preference, and for me it was really hard
reading, but that is my problem, not the author's, and consequently the rating
stands.

See all 574 customer reviews...

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.



Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.


  Contact Us