JavaScript: The Good Parts

by Douglas Crockford (Author)

[Book Cover] JavaScript: The Good Parts

Most programming languages contain good and bad components, but JavaScript has more than its share of the latter, as it was developed and released in a hurry, before it could be refined. This authoritative book scrapes away the most horrendous 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.

Author Douglas Crockford—considered the JavaScript expert by many in the development community—identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language. Unfortunately, these good ideas (such as functions, loose typing, dynamic objects, and an expressive object literal notation) are mixed in with bad and downright awful ideas (such as a programming model based on global variables).

When Java applets failed, Javascript became the language of the Web by default; its popularity is almost completely independent of its qualities as a programming language. In JavaScript: The Good Parts, Crockford digs through a pile of good intentions and blunders to give you a detailed look at all of the genuinely elegant parts of JavaScript, including:

  • Syntax
  • Objects
  • Functions
  • Inheritance
  • Arrays
  • Regular Expressions
  • Methods
  • Style
  • Beautiful Features

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.

Other Books by O'Reilly Media

[Book Cover] Website Optimization: Speed, Search Engine and Conversion Rate Secrets
Website Optimization: Speed, Search Engine and Conversion Rate Secrets
Remember when an optimized website was one that merely didn't take all day to appear? Times have changed. Today, website optimization can spell the difference between enterprise success and failure, and it takes a lot more know-how to achieve success. This book...
[Book Cover] Subject to Change: creating great products and services for an uncertain world
Subject to Change: creating great products and services for an uncertain world
To achieve success in today's ever-changing and unpredictable markets, competitive businesses need to rethink and reframe their strategies across the board. Instead of approaching new product development from the inside out, companies have to begin by looking at...
[Book Cover] Information Architecture for the World Wide Web: Designing Large-Scale Web Sites
Information Architecture for the World Wide Web: Designing Large-Scale Web Sites
The post-Ajaxian Web 2.0 world of wikis, folksonomies, and mashups makes well-planned information architecture even more essential. How do you present large volumes of information to people who need to find what they're looking for quickly? This classic primer s...
[Book Cover] CSS: The Definitive Guide
CSS: The Definitive Guide
Simply put, Cascading Style Sheets (CSS) is a way to separate a document's structure from its presentation. The benefits of this can be quite profound: CSS allows a much richer document appearance than HTML and also saves time -- you can create or change the app...

More Books by O'Reilly Media