Douglas Crockford: Monads and Gonads (YUIConf Evening Keynote)

Channel:YUI Library · Length:54:26 · Published:2012-12-13 · Views:67144

Watch on YouTube

Summary

Douglas Crockford's YUIConf 2012 evening keynote tries to explain monads in a way programmers can actually understand, in the context of JavaScript. He aims to break the 'monad tutorial curse'.

Why HN recommends it

Mentioned as a great talk alongside Crockford's book, and mostly quoted for his quip that once you understand monads you lose the ability to explain them.

The Monads and Gonads talk [0] he gave is also great. — HN, 2018

Functional programming · Web development

Subtitles (excerpt)

[applause] Douglas Crockford: Greetings programmers. Tonight's going to be a little different for me. I'm going to be showing you some code. I usually don't like talks with a lot of code in them, I find them really boring and tedious, and this should be no exception. [laughter] But it's part of the story, and I think it's actually going to explain some stuff. Tonight I'm talking about monads. Monads is something that was popularized by the Haskell community and has started to infiltrate its way into other language communities, including ours. It's a really interesting thing and really powerful thing, but it seems impossible to understand. In addition to its being good and useful, it's also cursed. The curse of the monad is that once you get the epiphany, once you understand oh, that's what it is, you lose the ability to explain it to anybody else. [laughter] There is tons of evidence for this. Go to Yahoo! and Google for monad... [laughter] ...Or monad tutorial, or monad burrito, or monad anything, and you'll find this stuff and someone will go okay, I understand it now. You read what they write and it won't make any sense at all. That's the curse of the monad. I'm going to try to break the curse tonight and explain monads in a way that you will

On Hacker News

Yes, because it's a great book. Everything in the book is still relevant, closures, currying, object binding. If you use the syntax he suggests all your code will still work. Just because let and const mean you can avoid some problems doesn't mean you shouldn't know why we have them. The Monads and Gonads talk [0] he gave is also great. [0]: [VIDEO] — icc97, 2018-07
Douglas Crockford on Monads: In addition to its being good and useful, it’s also cursed and the curse of the monad is that once you get the epiphany, once you understand - "oh that's what it is" - you lose the ability to explain it to anybody else. [VIDEO] — vo2maxer, 2020-02
I am a huge fan of VIM's design (and by extension EVIL [LINK] in Emacs, which is what I use most of the time), and I agree that all to most of this is achievable in Emacs. I really like Jetbrains products though, and when I am on Windows those are my goto tools as I don't have the UNIX user space to leverage alongside Emacs or VIM. They provide a great environment for those languages that don't h… — mheathr, 2013-06
... and failed: > Once you understand what monads are, and why they exist, you lose the ability to explain them to anybody. -- Douglas Crockford [1] [1] [VIDEO] — chocolateboy, 2015-01

Related videos