It's often desirable compare objects to see which is "lesser" or "greater"; but not all objects are inherently comparable. Today we'll look at a scheme for easily imposing an arbitrary …
We know that Value Objects are useful; today we'll meet a gem that makes them easier to build.
Today we look at a lesser-known but handy pair of methods on Strings.
Where do we draw the line between objects differntiated only by state, and objects differentiated by their class? That's the question we'll examine in this episode.
Today we learn about Ruby gem that makes it easier to build immutable value objects.
In episode 205 we introduced the spaceship (<=>) operator, but we also introduced an incompatibility with how Ruby's builtin comparisons work. Today we'll address this oversight.
Today, a story about a refactoring that went south, and turned out not to be a refactoring at all.