Episode #584
From Hash to Value Object

The Value Object pattern is one we’ve referenced numerous times on this show, but usually in the service of other topics. Today, we’re turning the spotlight directly onto this foundational pattern, with help from guest chef Tom Dalling. Tom is going to show us how Value Objects can function as contracts, firming up the expectations at the integration points of our code. In the process, you’ll also learn how to use his ValueSemantics gem to build Value Objects. Enjoy!

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.