Buy New
-7% $39.17
FREE delivery July 13 - 27
Ships from: --SuperBookDeals-
Sold by: --SuperBookDeals-
$39.17 with 7 percent savings
List Price: $42.29
FREE delivery July 13 - 27. Details
Arrives after Father's Day. Need a gift sooner? Send an Amazon Gift Card today by email or text message.
Usually ships within 3 to 4 days
$$39.17 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$39.17
Subtotal
Initial payment breakdown
Shipping cost, delivery date and order total (including tax) shown at checkout.
Shipper / Seller
Returns
Eligible for Return or Refund within 30 days of receipt
Eligible for Return or Refund within 30 days of receipt
This item can be returned in its original condition for a full refund within 30 days of receipt. You may receive a partial or no refund on used, damaged or materially different returns.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$7.81
$4.99 delivery July 15 - August 5. Details
Arrives after Father's Day. Need a gift sooner? Send an Amazon Gift Card today by email or text message.
Only 1 left in stock.
$$39.17 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$39.17
Subtotal
Initial payment breakdown
Shipping cost, delivery date and order total (including tax) shown at checkout.
Ships from Germany and sold by momox_Shop.
Added to

Sorry, there was a problem.

There was an error retrieving your wish lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle app

  • JavaScript: The Good Parts: The Good Parts

Follow the author

Get new release updates via the Kindle app & improved recommendations.
Something went wrong. Please try your request again later.

JavaScript: The Good Parts: The Good Parts

4.5 out of 5 stars (1,369)
4.2 on Goodreads
8,673 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$39.17","priceAmount":39.17,"currencySymbol":"$","integerValue":"39","decimalSeparator":".","fractionalValue":"17","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"PrdjQsFVe7C1w0x9Go6pTcyYigWPVsStFa7ngjZWh4dH3n9fadC%2BO%2FtbfpWFotH4azC%2F0w21KQ6Q85ltpQ3%2FgoXVHcvIEHNn8ZlQ1wk2irXmuRt%2B4h%2FfaQJM9qcOqwkS9gjxZ%2FiQzozljkjf0Cy5JwkTShfHP0GivBA2rJ%2FknuftCs2PZlpvtA%3D%3D","locale":"en-CA","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$7.81","priceAmount":7.81,"currencySymbol":"$","integerValue":"7","decimalSeparator":".","fractionalValue":"81","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"PrdjQsFVe7C1w0x9Go6pTcyYigWPVsStnlAt0sOx3N1PCQvK2aI3tLF3cZbznEj3waAdaov1Vq6C6KxMM4D9LSuYlJMLRFM22bJuHsbo3P0amXHukHG%2Fanib4Vh%2BIOFdPQS7t%2BB0jx0MVNqXrsAKjUHySUN%2F5B1GkafJwh%2BURhamyN3ofV3%2Byfq5XzTuvPBL","locale":"en-CA","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

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.

Frequently bought together

This item: JavaScript: The Good Parts: The Good Parts
$39.17
Get it Jul 13 - 27
Usually ships within 3 to 4 days
Ships from and sold by --SuperBookDeals-.
+
$74.32
Get it Jul 20 - Aug 10
Usually ships within 4 to 5 days
Ships from and sold by WB23.
+
$26.81
Get it by Saturday, Jun 27
Only 1 left in stock.
Sold by mnkm and ships from Amazon Fulfillment.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

From the Publisher

Image

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

Unearthing the Excellence in JavaScript

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)
  • Customer Reviews:
    4.5 out of 5 stars (1,369)

About the author

Follow authors to get new release updates, plus improved recommendations.
Douglas Crockford
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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

4.5 out of 5 stars
1,369 global ratings

Customers say

The book serves as a great read for anyone new to JavaScript and provides a highly informative overview of the language. Customers find it pretty concise and consider it the best way to write plain vanilla JavaScript, making it useful as a reference. However, some readers note that it's a little bit dated. Opinions on value are mixed, with some finding it good for the price while others feel it isn't worth the money.
AI Generated from the text of customer reviews

Select to learn more

56 customers mention content, 49 positive, 7 negative
Customers find this JavaScript book to be a great read for beginners and newcomers to the language. They consider it one of the best books on JavaScript as an abstract language and describe it as an important standard JavaScript book.
Pretty concise and straight to the point. A must read for any JS developer.Read more
...The information is concise and to the point. Great read, and enlightening. Having some JavaScript knowledge is helpful, but not necessary.Read more
...A good read.Read more
Absolutely fantastic. Douglas has put together a great book on JavaScript and its many pitfalls and good parts....Read more
26 customers mention informative, 19 positive, 7 negative
Customers find the book highly informative and appreciate its great overview of the subject matter. The book clearly explains base concepts and provides really good concepts that offer many insights on JavaScript. Readers note that it explains things that are usually difficult to understand, making complex topics more accessible.
...The information is concise and to the point. Great read, and enlightening. Having some JavaScript knowledge is helpful, but not necessary.Read more
Straight to the point book. Very handy but not for absolute beginners. RecommendedRead more
...It certainly isn't comprehensive, but that isn't its purpose....Read more
Pretty concise and straight to the point. A must read for any JS developer.Read more
13 customers mention conciseness, 10 positive, 3 negative
Customers find the book concise and clearly written, describing it as the best way to write plain vanilla JavaScript. They appreciate it as a great resource for writing clean JS codes and praise its good programming language design.
Pretty concise and straight to the point. A must read for any JS developer.Read more
...reading this book and thinking about its many messages, you will write better code.Read more
...The book is very concise and in my opinion conveys too much information without adequate amount of examples....Read more
...There are many, many occurrences of paragraphs, pages, or maybe even most of a chapter, where it really should be called JavaScript: The...Read more
9 customers mention usefulness, 7 positive, 2 negative
Customers find the book useful as a reference and appreciate how it helps them understand how JavaScript works by focusing on the good parts.
Straight to the point book. Very handy but not for absolute beginners. RecommendedRead more
6 customers mention value, 3 positive, 3 negative
Customers have mixed opinions about the book's value. Some find it offers a good price and consider the content worth the effort, while others feel it isn't worth the money and find it useless.
Tough book but worth the effortRead more
6 customers mention outdated, 0 positive, 6 negative
Customers find the book a little bit dated.
A bit dated, but the information is still valid nonetheless. It managed to make me learn a couple nooks and crannies of the language.Read more

Top reviews from Canada

  • 5 out of 5 stars
    Classic, Invaluable.
    Reviewed in Canada on April 18, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 4 out of 5 stars
    Tough book but worth the effort
    Reviewed in Canada on December 3, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    I definitely recommend this to anyone who is wanting to learn JavaScript ...
    Reviewed in Canada on May 26, 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    One of the best books to learn everything about JavaScript
    Reviewed in Canada on April 19, 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    One 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Excellent
    Reviewed in Canada on March 4, 2022
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Pretty concise and straight to the point. A must read for any JS developer.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 4 out of 5 stars
    An important standard JS book, but could also be called The Bad Parts.
    Reviewed in Canada on April 22, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Many 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    A great read for anyone new to JavaScript
    Reviewed in Canada on April 4, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 3 out of 5 stars
    Three Stars
    Reviewed in Canada on December 20, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Basic and to the point

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.

Top reviews from other countries

    Translated by Amazon
    See original
  • 5 out of 5 stars
    Ezzes vom Javascript-Guru
    Reviewed in Germany on February 12, 2010
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Ein 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.
    Translated from German by Amazon
    See original
  • 5 out of 5 stars
    JavaScript the language, presented for professional programmers
    Reviewed in the United Kingdom on February 3, 2009
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    In 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.
  • 5 out of 5 stars
    Super interesante.
    Reviewed in Mexico on August 21, 2023
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Es 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.
    Translated from Spanish by Amazon
    See original
  • 5 out of 5 stars
    Ottimo per principianti ed esperti
    Reviewed in Italy on June 30, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Il 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.
    Translated from Italian by Amazon
    See original
  • 5 out of 5 stars
    useful tips. I could relate to the possible pitfalls ...
    Reviewed in India on June 19, 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Many 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.