Talks to Watch

JavaScript: The Good Parts

589K views · Feb 28, 2009 · 1:03:48 · 11 HN recommenders · 20 mentions · discussed 2009–2020

Douglas Crockford's 2009 Google tech talk on the good and bad parts of JavaScript, based on his book. He argues for using a reliable subset of the language and avoiding its flawed features.

Why Hacker News points people here: A classic recommended to people learning JavaScript, even though some find it dogmatic and dated.

“This video changed my mind”HN comment, 2013

What Hacker News said 20

Strongly recommendskreekOct 2010

“The best way I've found to learn JavaScript is through anything by Douglas Crawford.”

Crockford's JavaScript: The Good Parts as best way to learn JavaScript

Full comment

The best way I've found to learn JavaScript is through anything by Douglas Crawford. 'JavaScript the Good Parts' is especially good. link this video

in “The best JavaScript guide ever” · view on HN
Strongly recommendsfunkahJan 2012

“Pretty much anyone who works in JS will recommend it.”

Condensed video version of Crockford's Good Parts book on JS best practices.

Full comment

Crockford's "JavaScript: The Good Parts" is the gold standard for best practices. Pretty much anyone who works in JS will recommend it. Here's a video which is a condensed version of what's in the book: this video

Strongly recommendsdahartOct 2013

“This video changed my mind”

Changes skeptics' minds about JavaScript; shows its Lisp-like roots and naming history.

Full comment

I will admit to having been an anti-JavaScript elitist (without really knowing JS.) This video changed my mind: this video (google tech talk, "JavaScript: the good parts") Two facts mentioned in the video that I didn't previously know and make me feel better about JavaScript: 1- JavaScript is lisp in disguise 2- The name JavaScript is an inside joke referencing the language's differences from Java, not its similarities. That was enough to make me change my mind, and I'm currently enjoying learning JavaScript unashamedly. Browser differences and lack of standards are a PITA, but OTOH, they all have awesome debuggers - HTML+JavaScript may be the only UI toolkit + dev environment that comes packaged with ALL computers, and for that reason has the widest reach. There's no question that the JS world is a bit wild west compared to other languages, but there's also no question that the situation is getting better over time, and that depending on what you're coding, there are huge advantages to using it.

in “For modern development, Javascript is just something you need to learn” · view on HN
RecommendsJBiserkovJul 2009

“Just avoid the bad parts. See this Google Talk by Douglas Crockford”

Crockford on avoiding JavaScript's bad parts

Full comment

When comparing Office 2007 (and 2010) with Office 97 one can clearly see these are not "the same old apps". Especially when combined with the Office Servers. JavaScript isn't such a bad language. It's essentially Scheme in C cloths. It has first-class functions, lexical closures, prototype-inheritance and more. Just avoid the bad parts. See this Google Talk by Douglas Crockford this video

in “Javascript is now strategic for Microsoft” · view on HN
RecommendsmrduncanNov 2009

“here is one from his Google tech talk in February”

Crockford's Google tech talk on JavaScript

Full comment

I didn't see any links to videos - here is one from his Google tech talk in February: this video . He also has a number of videos on YUI Theater ( link ). I also recommend checking out the javascript page on his website, plenty of javascript related material to keep you busy for hours: link

in “Doug Crockford Talk on JavaScript” · view on HN
RecommendspatorjkOct 2010

“he gave a tech talk on the main topics of his book which you can find here”

Tech talk covering the main topics of the Good Parts book

Full comment

I found the book "JavaScript: The Good Parts" by Douglas Crockford to be very helpful in understanding the language. It's short and covers the main things you'll need to know. It's a good starting place. In fact, he gave a tech talk on the main topics of his book which you can find here: this video

in “Ask HN: How to learn Javascript and HTML for devs coming from C++/Java/Python?” · view on HN
RecommendsbmaeserApr 2013

“classic: Douglas Crockford - JavaScript: The Good Parts”

Classic Crockford talk on JavaScript's good parts.

Full comment

3 awesome videos on very specific topics: Dr James Grime / Numberphile - Encryption and HUGE numbers link Les Hazlewood - Designing a Beautiful REST+JSON API link classic: Douglas Crockford - JavaScript: The Good Parts this video

in “Ask HN: What's the best technical talk you've heard?” · view on HN
RecommendstangueJan 2014

Listed among classic JavaScript talks worth watching.

Full comment

Classics John Resig : The Dom is a mess link Javascript, The Good Parts this video Speed up your Javascript link Brendan Eich : Fluent 2013: Brendan Eich, "JavaScript at 18: Legal to Gamble" link Paul Irish : 10 things I learned from the Jquery source link Less known but very interesting Building High-Performing JavaScript for Modern Engines link

in “Wonderful Javascript Talks?” · view on HN
RecommendsOatsellerFeb 2016

“Dated but still worth watching”

Dated but still worthwhile JavaScript talk for learners.

Full comment

A good place to start is MDN (Mozilla Developer Network): link MDN Javascript resources: link Before starting the tutorials, take some time to learn what's available in the Firefox developer tools. You won't need most of them at first, but knowing what's available will help as you gain experience. The two developer tools you'll probably use most when leaning are the Scratchpad ( link ) and Console ( link ) link & link will also be very useful while learning JS I haven't taken any but Udacity has some javascript courses ( link ), just tick the "Javascript" checkbox under "Technology" in the left menu Some additional resources: link link link link link link Dated but still worth watching: this video link edit: added addl. resources

in “Ask HN: How should I start with modern JS?” · view on HN
Recommends19eightyfourMar 2017

“JavaScript: the good parts talk is a useful resource, IMHO.”

Useful way to approach JavaScript basics.

Full comment

Unfortunately I don't know about the list you have, but if you are interested in one good way to approach JS basics (not suggesting you don't know the basics -- am saying I found the following resource useful for the basics, which help with building more advanced apps): JavaScript: the good parts talk is a useful resource, IMHO. this video

in “Ask HN: Resources for a beginner JavaScript developer?” · view on HN
Recommendssenthil_rajasekJul 2018

“I would recommend his book JavaScript: The Good Parts”

Crockford's Google talk as a companion to his book.

Full comment

Surprised that no one has mentioned Douglas Crockford. I would recommend his book JavaScript: The Good Parts link And his Google Talk, this video This is for plain JS.

in “Ask HN: What you wish you'd known before getting into JavaScript?” · view on HN
Cites itpkruminsFeb 2009

“The one I linked to is from a few weeks ago, when he gave a talk at Google.”

Crockford's recent Google talk

Full comment

That's not quite the same video. The one I linked to is from a few weeks ago, when he gave a talk at Google. ps. the youtube video works for me: this video pps. someone changed my crazy title for this post, this one looks much better and shorter. thanks :)

Cites itJonnieCacheDec 2010

“You can see a presentation where he reiterates this point, among others, here”

Crockford reiterating that semicolons should be used

Full comment

Most of the controversy stems from the fact that Doug Crockford, widely regarded as the javascript expert, has been aggressively saying "Use semicolons at the end of every statement or you will be miserable" for years, particularly in his influential book "Javascript - the Good Parts." You can see a presentation where he reiterates this point, among others, here: this video This blogger has a pretty compelling argument against this view.

in “An Open Letter to JavaScript Leaders Regarding Semicolons” · view on HN
Cites itnlz1Dec 2011

Crockford's talk on JavaScript's quirks versus its good parts.

Full comment

Surprisingly, its semantics and "features" are often bizarre and sweat-inducing when compared to other languages. (Surprising for such a widely-used language). this video

in “Why ++[[]][+[]]+[+[]] = 10 in JavaScript” · view on HN
Cites itinDigiNeousNov 2013

“Douglas Crockford said in his excellent talk”

Crockford advises avoiding 'with' and 'eval' in JavaScript.

Full comment

Using both 'with' and 'eval' on the same line, nice ;) Douglas Crockford said in his excellent talk 'JavaScript: The Good Parts' that he highly recommends js -developers to avoid 'with', as it doesn't work correctly and for 'eval' he has to say 'If you are finding yourself using eval, you really are thinking about things the wrong way'. Source, starts where he is speaking about with and eval: this video Are these statements still true ?

in “A spreadsheet in fewer than 30 lines of JavaScript, no library used” · view on HN
Cites itnawitusDec 2013

“JavaScript does some things better than C++/C#/Java, e.g. functions.”

Cited for the idea that JavaScript's critics overlook its good parts.

Full comment

Most critics of JavaScript don't know the good parts[1]. Sure, JavaScript has problems, but convention and static analysis fixes a lot of it. In addition, you can use something like TypeScript if you don't prefer dynamic typing. And it must be said that JavaScript does some things better than C++/C#/Java, e.g. functions. These languages are only now starting to catch up. 1. this video

in “JavaScript becoming the lingua franca for mobile development” · view on HN
Cites itinnguestMar 2014

Points to a specific timestamp as common knowledge.

Full comment

1. this video around 11:30. This is common knowledge, we should not have to repeat this every time we talk about this topic. 5. Where in npm (I've no clue what that is) can I find: 1. a calendar widget to put on my page? 2. an email, password, confirm password form to put on my page? You're not getting his point.

in “The Web’s Declarative, Composable Future” · view on HN
Cites itbaldfatJan 2016

Commenter looked at the talk when returning to JavaScript.

Full comment

Having taught myself javascript in the mid-late 1990s and brought down a few servers by simple mistakes (Not always my own) I swore myself off the language and haven't looked back. Now I am looking to jump back in to do some app development and js seems the easiest way currently. I have looked at this video JavaScript the good parts 2009. There seems to be much better handle on JS so I also would be interested in "Best Practice" for modern JavaScript development.

in “Ask HN: Is there a good tour of the modern JavaScript landscape” · view on HN
Cites itaazaaDec 2020

“You end up with a sub-language with the advantage of portability and better maintainability.”

Analogy: strip bad features to get a better sub-language.

Full comment

Reminds me of JavaScript: The Good Parts by Crockford: this video Strip away an older language's bad features. You end up with a sub-language with the advantage of portability and better maintainability. The problem can be deciding (and agreeing on) which language features are good and which are bad.

Criticaljust2nMar 2013

“TGP is mostly dogma.”

Full comment

TGP is mostly dogma. The title should make that very clear, but unfortunately, as usual, Crockford is short sighted so the title of his book is misleading, implying you might learn something about the language by reading it. A much more appropriate title would've been "JavaScript: Crockford's Best Practices for Experienced JavaScripters", or "What's Wrong With JavaScript According to Crockford." Then it's pretty clear what the book is doing, and doesn't trick readers into thinking it's an introductory or learning book. A few of Crockford's opinions are fairly widely accepted as good advice, but much of it is controversial at best, and in practice incorrect or misguided. If you are considering buying it, just watch the talk instead: this video . As for the article: it's mostly sound advice. I will reiterate reading the source to underscore and backbone. I started recommending this lately to people after they get comfortable with the language. Many popular patterns and techniques are used in these code bases and they're very approachable from a reading perspective. I read both a few months ago to get up to speed on a new project and I found it quite enjoyable compared to reading the likes of jQuery or Angular.

in “Learning JavaScript - my experience and advice” · view on HN