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 …
Month: July 2014
Episode #223: Equalizer
We know that Value Objects are useful; today we'll meet a gem that makes them easier to build.
Episode #222: String Partition
Today we look at a lesser-known but handy pair of methods on Strings.
Episode #220: Type and Class
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.
Episode #219: Adamantium
Today we learn about Ruby gem that makes it easier to build immutable value objects.
Episode #218: Spaceship Revisited
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.
Episode #217: Redesign
Today, a story about a refactoring that went south, and turned out not to be a refactoring at all.