Functional Programming in JavaScript
summary
Covers concrete JavaScript patterns: immutable data, pure functions, no loops, and small reusable helpers. Shows working code for add(a,b), addf (adds across two invocations), curry (wraps a function to accept arguments one at a time), and liftf (turns a binary function into a chainable two-invocation call). Runs live exercises in the browser/editor, demonstrates increment built from these helpers, and the examples produce the expected results.
AI-written summary · about
chapters (12)
- 0:00Introduction to talk
- 1:03What is functional programming
- 2:46Core principles explained
- 4:09Object vs functional example
- 7:58Debugging benefits
- 9:46Pure functions vs state
- 11:33Functional programming as math
- 12:57JavaScript functional examples
- 17:28Currying in JavaScript
- 20:48Binary function transformation
- 24:16Building increment function
- 27:21Conclusion and summary
