Customers who viewed this item also viewed
Buy New
-7%
$39.17$39.17
FREE delivery July 13 - 27
Ships from: --SuperBookDeals- Sold by: --SuperBookDeals-
Used – Like New
$7.81$7.81
$4.99 delivery July 15 - August 5
Ships from: momox_Shop Sold by: momox_Shop
Sorry, there was a problem.
There was an error retrieving your wish lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera, scan the code below and download the Kindle app.
Follow the author
OK
JavaScript: The Good Parts: The Good Parts
Purchase options and add-ons
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.
- ISBN-100596517742
- ISBN-13978-0596517748
- Edition1st
- PublisherYahoo Press
- Publication dateJune 3 2008
- LanguageEnglish
- Dimensions17.78 x 0.97 x 23.34 cm
- Print length172 pages
Frequently bought together

Customers who viewed this item also viewed
JavaScript: The Definitive Guide: Master the World's Most-Used Programming LanguagePaperback$6.49 shippingGet it Jul 20 - Aug 10Usually ships within 4 to 5 days
JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pagesPaperbackFREE Shipping by AmazonGet it by Tuesday, Jun 23
From the Publisher
From the Preface
This is a book about the JavaScript programming language. It is intended for programmers who, by happenstance or curiosity, are venturing into JavaScript for the first time. It is also intended for programmers who have been working with JavaScript at a novice level and are now ready for a more sophisticated relationship with the language. JavaScript is a surprisingly powerful language. Its presents some challenges, but being a small language, it is easily mastered.
My goal here is to help you to learn to think in JavaScript. I will show you the components of the language and start you on the process of discovering the ways those components can be put together. This is not a reference book. It is not exhaustive about the language and its quirks. It doesn't contain everything you'll ever need to know. That stuff you can easily find online. Instead, this book just contains the things that are really important.
This is not a book for beginners. Someday I hope to write a JavaScript: The First Parts book, but this is not that book. This is not a book about Ajax or web programming. The focus is exclusively on JavaScript, which is just one of the languages the web developer must master.
Product description
Book Description
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.
Product details
- Publisher : Yahoo Press
- Publication date : June 3 2008
- Edition : 1st
- Language : English
- Print length : 172 pages
- ISBN-10 : 0596517742
- ISBN-13 : 978-0596517748
- Item weight : 1.05 kg
- Dimensions : 17.78 x 0.97 x 23.34 cm
- Best Sellers Rank: #575,154 in Books (See Top 100 in Books)
- #179 in JavaScript (Books)
- #327 in Software Design & Engineering Textbooks
- #328 in Web Design (Books)
- Customer Reviews:
About the author

Douglas Crockford is the author of How JavaScript Works. He has been called a JavaScript Guru, but he is more of a Mahatma. He was born in Frostbite Falls, Minnesota, but left when he was only six months old because it was just too damn cold. He has worked in learning systems, small business systems, office automation, games, interactive music, multimedia, location-based entertainment, social systems, and programming languages. He is the inventor of Tilton, the ugliest programming language that was not specifically designed to be an ugly programming language. He is best known for having discovered that there are good parts in JavaScript. That was the first important discovery of the Twenty First Century. He also discovered the JSON Data Interchange Format, the world’s most loved data format.
Customer reviews
Customers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from Canada
- 5 out of 5 stars
Classic, Invaluable.
Reviewed in Canada on April 18, 2016I would not forgive myself if I did not write a review for this book. This is one of the best books I have ever read in my entire life. It does not only help me grasp and love Javascript, but also greatly improved my understanding the way of how to do better programming. As a programmer, if you have not read this book, you missed a very good part. So, if you want to learn Javascript, this is definitely the right book to read.
Like the author said, This book is small, but it is dense. It is very hard to understand some pages in the first read. I read every pages at least 3 times, some pages more than 10 times to get the idea fully. But the effort definitely got rewarded.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Tough book but worth the effort
Reviewed in Canada on December 3, 2016I am an experienced C# developer (10+ yrs).
This is my first Javascript book. I thought it'd be a piece of cake but this book helped me realize how different of a beast javascript is from oop/d that I am so used to. And for helping me realize that alone, I think this book is great.
The book is very concise and in my opinion conveys too much information without adequate amount of examples.
If you have experiences working with javascript and ran into issues which you couldn't understand why, you will love this book. If not, I think for us mortals, it will be a difficult book to absorb all the information at once.
. Perhaps
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
I definitely recommend this to anyone who is wanting to learn JavaScript ...
Reviewed in Canada on May 26, 2015I was a bit pessimistic about this book. I really didn't want another beginners how to programming book, after all I have been programming in other languages for a few years. This book surprised me though, I really learned a lot about how JavaScript works, and the misconceptions people normally have when they are coming from other classical object oriented languages. I definitely recommend this to anyone who is wanting to learn JavaScript or even those who are just exploring JavaScript frameworks for the first time.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
One of the best books to learn everything about JavaScript
Reviewed in Canada on April 19, 2015One of the best JavaScript books for any level to cover all the important aspects (and faults of JavaScript).
Book is great for beginners as it covers the basics and fundamentals of programming, but is good for people who are already experienced programmers who have never programmed in JavaScript.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Excellent
Reviewed in Canada on March 4, 2022Pretty concise and straight to the point. A must read for any JS developer.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
An important standard JS book, but could also be called The Bad Parts.
Reviewed in Canada on April 22, 2016Many developers praise this book, but in my opinion it did not live up to what the author claimed. It's very negative documentation of JavaScript, by someone who is making a point of telling you he's an expert. There are many, many occurrences of paragraphs, pages, or maybe even most of a chapter, where it really should be called JavaScript: The Hot&Steaming Pile. He may be an expert in JavaScript but sometimes the arrogance in the book is hard to just accept and move on past. And the negativity in spite of the title... also difficult. I didn't buy this book to learn all the things I shouldn't learn. I bought it to learn the *good* parts. And in fairness, the good parts are covered, eventually. Although, they seemed to me to come with a bit too much opinion on subjective aspects. Perhaps that is why this review also includes too much opinion on subjective aspects. ;) In spite of this, it is one of the standard books all JavaScript developers should probably read.
It's just that I think it needs an editor to go through and slash and burn some of The Bad Parts sections. Some discussion of that is needed, but I suspect the author used his expert status to intimidate his editor into making poor choices on what to cut.
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
A great read for anyone new to JavaScript
Reviewed in Canada on April 4, 2016I find programming texts tough to get through, so I appreciated how short the book is. It certainly isn't comprehensive, but that isn't its purpose. A great read for anyone new to JavaScript, or someone who wants a refresher on some best practices and pitfalls.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Three Stars
Reviewed in Canada on December 20, 2016Basic and to the point
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Franz5 out of 5 starsEzzes vom Javascript-Guru
Reviewed in Germany on February 12, 2010Ein rundum gelungenes Werk von Javascript-Guru, das trotz seiner schlanken Gestalt für viele Stunden Lesevergnügen sorgte.
In den wenigen Seiten ist soviel Wissen destilliert und in minimalistische Code-Beispiele gegossen, dass man jedes Kapitel gerne nochmals liest, um auch ja alles "mitzunehmen".
Javascript: The Good parts beginnt mit der Geschichte von Javascript und seinem Aufstieg von einer Verlegenheitslösung zur vielleicht wichtigsten Skriptsprache der Welt. Doch dann ist die Schonfrist vorbei: schonungslos zerpflückt Crockford die ohnehin spärliche Javascript-"Standardbibliothek" bzw. Syntax und erklärt anschaulich, warum ==, typeof und Co besser nicht mehr verwendet werden sollten. Auch die missglückte prototype/class-Inheritance von Javascript bekommt ihr Fett ab.
Aus den wenigen Resten, den good parts, zaubert Crockford aber erstaunliches: er erläutert, wie sich Klassen, Vererbung, Module oder funktionale Programmierung mit einfachsten Mitteln in Javascript emulieren lassen. Sehr gut finde ich, dass er den Bereich der DOM-Manipulation komplett außen vor läßt. Als hochperformante Programmiersprache hat sich Javascript längst von den typischen Rollover-Skriptchen emanzipiert, die in anderen Werken noch den Blick aufs Wesentliche verstellen.
Insgesamt eine sehr empfehlenswerte Lektüre für den fortgeschrittenen Javascript-Entwickler.
Sending feedback...Thanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
A Reader5 out of 5 starsJavaScript the language, presented for professional programmers
Reviewed in the United Kingdom on February 3, 2009In this small and dense book you will find JavaScript guru Douglas Crockford's presentation of the beautiful subset of a language that lies within JavaScript as a whole. You can use this subset to write serious programs. Occasionally you might have to use some of what Crockford calls "the bad parts", but at least you'll know the dangers, and how to mitigate them.
Perhaps more importantly, Crockford is very, very aware of how JavaScript differs from classical OO languages, and how these differences can and do trip up classically trained programmers, coming from (say) C++, C# or Java backgrounds. Crockford goes out of his way to point out the differences and the new way of thinking that is required for JavaScript.
This book is not necessarily going to be an easy read, even for professionals. Crockford says so himself in the preface. It's dense and terse. By necessity it introduces terms that might be confusing at first, and which are only explained later. You have to read the whole book, patiently waiting for certain concepts to be explained, and for things to fall into place. On a re-read it all begins to make real sense. I do recommend that this book is read at least twice, preferrably three times. At least it's short!
There is not much to do with the web in this book. There's no DOM manipulation examples, and no Ajax calls. You will find no discussion of modern JavaScript libraries. Crockford just focusses on his area of expertise: the JavaScript language. He highlights and promotes the good parts, and in appendices talks about the "Awful" and merely "Bad" parts.
This is an important book. Crockford writes with the authority, seriousness and simplicity of K&R. To be a modern web developer you really need to know what you're doing with respect to JavaScript. Look to other books to discuss JavaScript libraries, the DOM, animation effects and Ajax. Look to this book for the starting point to all that: the JavaScript language itself, weird and wonderful, familiar yet strange, bad parts and (fortunately) good parts.
Sending feedback...Thanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Jared Jonathan Ortega Ponce5 out of 5 starsSuper interesante.
Reviewed in Mexico on August 21, 2023Es un libro donde cada capitulo tiene algo que puedes aplicar en tu trabajo de todos los días. Esta lleno de buenos consejos o cosas que muchas veces se pasan por alto. Me encanto.
Sending feedback...Thanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Matteo Ambrosi5 out of 5 starsOttimo per principianti ed esperti
Reviewed in Italy on June 30, 2016Il libro è scritto veramente molto bene, i consigli forniti possono essere molto utili sia per uno sviluppatore principiante che per esperti. L'inglese utilizzato è abbastanza semplice e risulta di facile comprensione anche per chi non conosce la lingua in modo approfondito. Il metodo espositivo è molto concentrato, non ci sono tanti giri di parole o discorsi lunghi per aumentare il numero di pagine del libro, si tratta di un concentrato di informazioni molto utile anche da tenere a fianco del pc nel lavoro di tutti i giorni. Consigliato!
Sending feedback...Thanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Metzger5 out of 5 starsuseful tips. I could relate to the possible pitfalls ...
Reviewed in India on June 19, 2015Many examples and real life proven, useful tips. I could relate to the possible pitfalls of Javascript.
Sending feedback...Thanks, we’ll investigate in the next few days.Sorry, We failed to report this review. Please try again





