hackertube.io

Monad - FunFunFunction #21

Fun Fun Function · tutorial · Watch on YouTube

What it is

An episode of FunFunFunction explaining monads in JavaScript as functors that also implement flatMap. It builds on the preceding functor episode and works through code examples.

Why Hacker News recommends it

Recommended to people confused by monads as a friendly, practical explanation for JavaScript developers, with one commenter saying it finally made it click.

  • 3 people recommended it
  • 3 different months
  • 1 strong recommendations
  • first 2016, last 2021

What HN commenters said

  1. “I saw a video by MPJ/Funfunfunction [0] and it finally made sense.”

    Finally made monads make sense after months of trying

    k__, 2021-10 · Strong recommendation · in “Functors, Applicatives, and Monads in Pictures (2013)”

  2. “I like how mpj explains it.”

    Fun explanation of monads

    intellectable, 2016-07 · Recommendation · in “Functional Programming Jargon”

  3. “Try the funfunfunction video [0]”

    Explains flatmap and monads for JavaScript developers

    icc97, 2018-02 · Recommendation · in “JavaScript Promises Discussion: Make Them Monadic? (2013)”

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

Topics: monads, functional programming, flatmap, functors, javascript

Also recommended by the same people