Functional Programming for Rubyists
summary
Claim: Ruby benefits from a pure functional core for easier testing and parallelism, paired with external state management. Demonstrations use gems: Hamster for persistent data structures (structural sharing, performant in MRI), Concord/Anima + Adamantium for immutable structs, Mentum for deep freeze, Closure for STM, and Funky Phi for auto-curry/composition. Book-in-progress The Happy Lambda has ~40 pages and 100+ paid readers. Performance tradeoffs appear—more allocations but gained history, easier refactoring, and working proofs of concept that hold up in practice.
AI-written summary · about
chapters (8)
- 0:00Start
- 7:18IMPERATIVE PROGRAMMING
- 7:39EVOLUTIONARY STEPS
- 14:19PURE FUNCTIONS
- 16:05REFERENTIAL TRANSPARENCY
- 23:11The man weakness of functional programming
- 33:13VALUES IN RUBY
- 33:45IMMUTABLE STRUCTS
related talks
24mFunctional programming for fun and profit!!
37mFunctional Programming in Ruby
42mTaking inspiration from the functional world
33mBetter Ruby through Functional Programming
40mMake Ruby Functional Again!
40mFunctional Programming For The Anxious Developer
44mReal-World Functional Ruby
43mFunctional Programming and Ruby
