hackertube.io

Monads and Gonads

Google TechTalks · talk · Watch on YouTube

What it is

Douglas Crockford's Google Tech Talk explains monads without category theory or Haskell, implementing them in JavaScript and tying them to Ajax and promises. He also touches on odd asides such as coloring code by scope.

Why Hacker News recommends it

Often recommended as a demystifying monad talk in plain JavaScript, though some find it light on definitions.

  • 2 people recommended it
  • 2 different months
  • 2 strong recommendations
  • first 2013, last 2022

What HN commenters said

  1. “what I thought to be one of DC's greatest talks”

    Considered one of Crockford's greatest talks.

    nnq, 2016-09 · Strong recommendation · in “In defence of Douglas Crockford”

  2. “The one thing that made monads clearer for me was this thing”

    Demystifies monads as simple wrappers writable in any language.

    scotty79, 2019-10 · Strong recommendation · in “Learning Haskell is no harder than learning any other programming language”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: monads, javascript, douglas crockford, functional programming, promises

Also recommended by the same people