Crockford on JavaScript - Section 8: Programming Style & Your Brain

Channel:YUI Library · Length:1:06:46 · Published:2011-11-13 · Views:111064

Watch on YouTube

Summary

Douglas Crockford's YUIConf 2011 keynote on why programming style matters, particularly in JavaScript. He draws on science about the brain and shows how tools like JSLint help.

Why HN recommends it

HN points to it as an entertaining, insightful talk about the nature of programming, with memorable lines about programmers and a refreshing slide style.

entertaining and insightful talk — HN, 2015

Python, Ruby & scripting languages · Web development · Software practice, open source & careers

Subtitles (excerpt)

>> DOUGLAS CROCKFORD: Thank you very much. Welcome to the YUIConf Gala Costume Masquerade. It's great to see all of you here in your festive costumes; you all look fabulous. We are here at YUIConf at Yahoo!'s -- where are we? -- Great America campus in Santa Clara, California. Tonight: Section 8, JavaScript Programming Style and Your Brain. This might seem three unusual things to talk about in one talk -- how could these things possibly be related to each other? JavaScript and brains? What's the connection? There actually is a connection. JavaScript and programming style and brains? Yeah, there's a connection and it's an important connection, and surprisingly and hopefully entertaining. This talk comes from a scientific discovery. There were some social scientists who were doing some work, as they do, in trying to understand human intelligence. How do we think? How do our brains work? They came up with a set of simple experiments and their results were really surprising. They published their results and the scientific community said that can't be right, there must have been an error in the design of the experiments, there must have been some error in the evaluation of the data. This cannot possibly be the correct explanation for how we think.

On Hacker News

Douglas Crockford has a great talk that touches on the head-gut connection and how it relates to programming. "We could not program without our gut. I have absolutely no evidence to justify that statement. But my gut tells me it's true, so I believe it." [VIDEO] — tejohnso, 2015-05
Douglas Crockford touches on this aspect in this entertaining and insightful talk [0]. I'm guilty of what you state and I think a large part of "programming" is rudimentary boiler plate coding/configuration and staring into the Abyss. I think our role will be to design algorithms and come up with creative solutions/hacks (which would be difficult for a program) and designing a workflow/flow chart… — myth_buster, 2015-05
> A straightforward lecture delivered directly from a powerpoint is not automatically a bad thing. It might not be bad in itself and if you do it right it can be as good or better than a presentation without the material that is read aloud. But at the same time you are wasting the potential of a presentation that is solely meant to help the attendee/listener along and to drive home the important … — Perseids, 2014-03
> But when does this grief stop? It doesn't, but we get used to it. I take the same view as Douglas Crockford: I think there has to be something seriously wrong with you in order to do this work. A normal person, once they’ve looked into the abyss, will say, “I’m done. This is stupid. I’m going to do something else.” But not us, ‘cause there’s something really wrong with us. [1] I'm pretty sure t… — ggreer, 2014-12
I think the exact opposite is true: Programming is more scientific than most science. A biologist often spends months experimenting before invalidating a hypothesis. A programmer's hypotheses are proven wrong dozens of times a day. By failing so quickly and often, we build mental models of code that closely correspond to reality.[1] Also, our experimental apparati are more powerful than anything … — ggreer, 2014-03

Related videos