Why JavaScript Programmers Should Learn Algebraic Data Types
summary
Claims concrete payoff: algebraic data types replace ad hoc checks and tiny libraries with composable containers implemented in plain JavaScript, demonstrated with Box/Maybe/Either/Task types (classes with map chain fork ap), a lazy Task that composes async where promises fail, an xhrResult type for per-item loading/error states and a Flux-like store built with RxJS that fetches 30 users in batches of five. Code runs live in slides and examples, showing fold/concat-based reduction, reuse of pipelines, and practical next steps.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:16Why Javascript Programmers Should Learn Algebraic Data Types
- 3:48Javascript Lends Itself to Functional Style Programming
- 7:45Category Theory
- 16:13Algebraic Data Types
- 31:45Tasks
- 33:14Parallel Execution
- 36:09Rxjs
- 40:26Fold Function
- 49:12Xhr Result
- 53:45Summary








