A Skeptics guide to functional style javascript
summary
Argues that using small, pure-ish functions and array methods yields clearer, better-structured code and fewer bugs while admitting JavaScript can’t enforce purity or immutability. Shows concrete patterns: replace loops with map/filter/reduce chains, curry event handlers to capture indices, treat promises like monads, and compose functions so map then reduce produces the same numeric result in one line. Recommends Immutable.js for real immutability and makes the blunt claim never write a for loop again.
AI-written summary · about
chapters (13)
- 0:00Introduction and audience check
- 4:24What is functional programming?
- 9:26Three rules of functional style
- 12:16Arrays and functional iteration
- 16:11Pure functions explained
- 20:49Functional array operations
- 24:22Filtering and finding data
- 27:14Chaining and reducing arrays
- 29:00Higher-order functions
- 32:36Understanding monads
- 38:21Monads in JavaScript
- 39:02Tooling and mindset shift
- 41:11Q&A session
related talks
49mA Skeptics guide to functional style javascript
48mA Skeptic's Guide to Functional Style Javascript
25mA Guide To Functional Programming
20mFunctional JavaScript
53mMaintainable JavaScript with Functional Patterns
37mA Guide To Functional Programming
34mFunctional JavaScript for everyone
12mAn introduction to functional programming
