Skip to content
0:00 / 0:00

#javascript#monads#functionalprogramming

Douglas Crockford: Monads and Gonads (YUIConf Evening Keynote)

YUI Library

16K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 3 people: 1 on Hacker News and 2 in engineering communities.
  • A classic. People kept recommending it from 2012 to 2018.
  • Presented by Douglas Crockford, JavaScript architect
  • May be out of date. Uploaded 13 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

67K views13 years ago3 recommendations

Programming languagesWeb developmentJavaScriptFunctional programming

Douglas Crockford explains the concept and applications of monads in JavaScript to break the monad tutorial curse.

In this evening keynote from YUIConf 2012, the legendary JavaScript architect Douglas Crockford discusses one of the most elusive of all programming concepts: the monads. With this talk, Crockford attempts to break the long-standing Monad tutorial curse by explaining the concept and applications of monads in a way that is actually understandable to the audience.

Why it's here

3 people recommend this

What people say. Recommended as an entertaining attempt to explain monads to JavaScript programmers and break the infamous monad tutorial curse.

icc97on Hacker News • Recommends

On “Ask HN: What you wish you'd known before getting into JavaScript?”

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: link to this video

u/chrisdonerin r/haskell • Recommends

Douglas Crockford: Monads and Gonads (YUIConf Evening Keynote) - YouTube

u/mangostachein r/haskell • Recommends

Douglas Crockford: Monads and Gonads (YUIConf Evening Keynote) 54:27

u/MoreHugsin r/emacs • Mentions

Context Based Coloring Is anyone working on an implementation of context based coloring for Emacs? Context coloring colors code blocks based on what the scope of the function is and the variables always have the color associated with the scope that the variables were declared in. The idea is that discerning the scope of nested functions and variables declared within them is much more obvious, making debugging and following the code logic easier. A proof of concept version of this was shown in Douglas Crockford's talk on Monads. Context coloring is explained at the 16:50 mark. An example of this for Javascript (what Crockford uses in the talk) is here. White represents global sco…

mheathron Hacker News • Mentions

On “One Year Later: Review of PyCharm 2.7 from a Vim User’s Perspective”

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 have great support outside of commercial IDEs or for people turned off by Emacs/VIM. My first experience was using IDEA for Java (both VIM and Emacs support for Java is an area where they are weakest somewhat surprisingly) and I was very happy with IDEA, so I tried PyCharm later on when I was on Windo…

chocolateboyon Hacker News • Mentions

On “Monoids, Functors, Applicatives, and Monads: Main Ideas”

... 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 link to this video

vo2maxeron Hacker News • Mentions

On “An Intuitive Guide to Linear Algebra (2012)”

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. link to this video