Real-World Functional Ruby
summary
Demonstrates a practical functional Ruby stack: model behavior as verbs — small functional objects with a call method that are immutable and receive dependencies via constructor injection; model data as immutable value objects typed with dry-types/dry-struct; wrap outcomes in consistent result objects and handle them with dry-monads/dry-matcher; wire hundreds of objects with dry-system and dry-auto_inject; persist via ROM; test by passing doubles into functions. Claims 10+ apps shipped over two years by teams of 2–3, and a workshop builds a blog end-to-end.
AI-written summary · about
chapters (6)
- 0:00Introduction and welcome
- 4:43The design stamina hypothesis
- 11:03Functional objects in Ruby
- 17:55Real-world functional Ruby
- 27:49Building apps with dry-rb
- 33:05Q&A on functional Ruby
related talks
35mReal-world Functional Ruby
39mFunctional Architecture for the Practical Rubyist
39mFunctional Architecture for the Practical Rubyist
40mReinvesting in Ruby
27mA New Ruby Toolbox
42mTaking inspiration from the functional world
26mBlending Functional and OO Programming in Ruby
24mFunctional programming for fun and profit!!
