Functional Programming:Learning
summary
Shows a concrete refactor: a Redux + Canvas app is rewritten using Ramda.js piping and currying instead of lodash, replacing combineReducers with composed reducer maps and an effector map that separates data generation from side effects. Code size drops — reduced code by 3/4 — selectors and pure functions reuse across UI and canvas, and the new flow yields only three minor issues over three months. Also demonstrates discriminated unions for action shapes and why Ramda’s auto‑currying beats plain lodash here.
AI-written summary · about
chapters (7)
- 0:00Functional JavaScript intro
- 2:55Redux to FP curiosity
- 10:03Refactoring with reducers
- 17:01Currying and composition
- 23:10Data vs operations
- 29:30Refactoring results
- 30:50Key takeaways
related talks
41mFunctional programming: Give it a chance!
56mFunctional Programming with JavaScript
20mStylish JavaScript with pointfree style
01h 03mFunctional Programming in JS: What? Why? How?
30mLearning Functional Programming with JavaScript
40mSimplicity through Functions
43mFirst-Class Programming
34mFunctional JavaScript for everyone
