Learning Functional Programming with JavaScript
summary
Shows that expressing code as pure functions and using higher-order functions like Map, Reduce, and Filter avoids side effects, with a concrete example replacing a room via rooms.map instead of mutating the array. Explains structural sharing and persistent data structures (Bagwell → Hickey/Clojure) to avoid full-copy inefficiency, demonstrates the tree-based reuse idea, and points to practical tools such as Mori and Immutable.js (also Ramda, Lodash).
AI-written summary · about
chapters (7)
- 0:00Start
- 1:58a programming paradigm
- 2:24a coding style
- 4:11established community
- 6:42use "pure" functions
- 8:58functions can be inputs/outputs
- 13:12use immutable data
related talks
01h 03mFunctional Programming in JS: What? Why? How?
12mAn introduction to functional programming
50mFrom Javascript to Haskell : Functional Programming made simple
43mFunctional programming is not just lambdas!
20mFunctional JavaScript
51mWhat the Functional? What, How and Why
41mFunctional programming: Give it a chance!
49mGoing Functional with JS
