DEV Community

Discussion on: Value objects - a complete guide to Ruby code that is testable, readable and simple

Collapse
 
wulymammoth profile image
David

Very nice! I must admit that I’ve hardly ever used this pattern and have only seen it. Rails also supplies Enum which could be useful in the first case

One thing worth mentioning, perhaps, is that a lot of folks may not be familiar with Martin Fowler and his ideas. Would be nice to expand or remove that part depending on how short you’d like to lee this. I think this is valuable without that mention :)