Publisher: O'Reilly Media / Yahoo Press Released: May 2008 Pages: 172
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. |
- Title:
- JavaScript: The Good Parts
- By:
- Douglas Crockford
- Publisher:
- O'Reilly Media / Yahoo Press
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- May 2008
- Ebook:
- December 2008
- Pages:
- 172
- Print ISBN:
- 978-0-596-51774-8
- | ISBN 10:
- 0-596-51774-2
- Ebook ISBN:
- 978-0-596-15873-6
- | ISBN 10:
- 0-596-15873-4
|
-
Douglas Crockford 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. View Douglas Crockford's full profile page. |
Colophon The animal on the cover of JavaScript: The Good Parts is a Plain Tiger butterfly (Danaus chrysippus).Outside of Asia, the insect is also known as the African Monarch. It is a medium-size butterfly characterized by bright orange wings with six black spots and alternating black-and-white stripes. Its striking looks have been noted for millennia by scientists and artists. The writer Vladimir Nabokov--who was also a noted lepidopterist--had admiring words for the butterfly in an otherwise scathing New York Times book review of Alice Ford's Audubon's Butterflies, Moths, and Other Studies (The Studio Publications). In the book, Ford labels drawings made previous to and during Audubon's time in the 19th century as "scientifi-cally [sic] unsophisticated." In response to Ford, Nabokov writes, "The unsophistication is all her own. She might have looked up John Abbot's prodigious representations of North American lepidoptera, 1797, or the splendid plates of 18th- and early-19th-century German lepidopterists.She might have traveled back some 33 centuries to the times of Tuthmosis IV or Amenophis III and, instead of the obvious scarab, found there frescoes with a marvelous Egyptian butterfly (subtly combining the pattern of our Painted Lady and the body of an African ally of the Monarch)." While the Plain Tiger's beauty is part of its charm, its looks can also be deadly. During its larval stages, the butterfly ingests alkaloids that are poisonous to birds--its main predator--which are often attracted to the insect's markings. After ingesting the Plain Tiger, a bird will vomit repeatedly--occasionally fatally.If the bird lives, it will let other birds know to avoid the insect, which can also be recognized by its leisurely, meandering pattern of flying low to the earth. The cover image is from Dover's Animals. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Companion Products
|
Recently Viewed
|
 |
|
By Douglas Crockford
September 2009
Video: Was: $99.99 Now: $49.99
|
By Rebecca Goldthwaite
April 2008
By Bill McCarty
October 2004
|
Customer Reviews

4/29/2011 (3 of 4 customers found this review helpful) 4.0Focused discussion on the parts of JavaS By strivinglife from Madison, WI 12/29/2010 (10 of 11 customers found this review helpful) 4.0Now I know what sets JavaScript apart 12/10/2010 (2 of 53 customers found this review helpful) By Steve D from Green Bay, WI - Concise
- Easy to understand
- What there is is good
- Not comprehensive enough
- Too many omissions
4/4/2010 (10 of 10 customers found this review helpful) - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
2/10/2010 (12 of 14 customers found this review helpful) 4.0Good for intermediate JS programmers - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
10/1/2009 (6 of 7 customers found this review helpful) 5.0The best JavaScript book available By FluffyClouds from London - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
- Expert
- Intermediate
- Novice
- Student
4/7/2009 (3 of 5 customers found this review helpful) 5.0brilliant book from a brilliant Man! By Midooh from Undisclosed 3/16/2009 (2 of 2 customers found this review helpful) 5.0Best JavaScript book I have read By Chris Brandsma from Undisclosed 11/3/2008 (6 of 7 customers found this review helpful) 4.0RE:Oh, so that's how a book about a programming language should be written... By grego1128 from Undisclosed 6/4/2008 (12 of 12 customers found this review helpful) 4.0Oh, so that's how a book about a programming language should be written... By robreed from Undisclosed
|
|
|