Skip to content
0:00 / 0:00

#monad#javascript#functionalprogramming

What is a monad? (Design Pattern)

A Byte of Code

21K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Beginner. No background in the topic needed.

370K views4 years ago1 recommendation

Software designProgramming languagesFunctional programmingDesign patternsJavaScript

An explanation of the monad design pattern using JavaScript to build an intuitive understanding of pipelines with effects.

Programming often relies on combining functions in data pipelines. The monad is a design pattern which makes pipelines with effect much easier to write and maintain. Monads are often explained using haskell in complicated ways but I tried here to simply explain the pattern with javascript to build an intuition of them.

Why it's here

1 person recommends this

What people say. Recommended as a really good explanation of a monad in under 100 seconds.

u/Zyansheepin r/functionalprogramming • Recommends

Really good explanation of a monad in under 100 seconds