Undervalued: The Most Useful Design Pattern
summary
Argues that value objects are underused and, with Ruby's first-class support, become a practical tool for real systems. Shows concrete code patterns combining value objects with the factory pattern to build domain models that bridge bounded contexts, reduce duplicated conversion logic, and make tests smaller and faster. Demonstrates a working refactor that simplifies interfaces, noticeably speeds test suites, and yields measurable runtime improvements in object-heavy paths.
AI-written summary · about
chapters (6)
- 0:00Introduction to design patterns
- 3:27Why most patterns are overlooked
- 9:51The overlooked pattern explained
- 17:49Common misconceptions
- 23:17Real-world applications
- 29:27Summary and key takeaways
related talks
34mThinking in Objects
32mN design patterns you might actually use
32mruby best practice patterns
30mRuby Techniques by Example
39mFunctional Architecture for the Practical Rubyist
39mFunctional Architecture for the Practical Rubyist
38mRefactoring Fat Models with Patterns
01h 12mRuby Best Practice Patterns
