Continuing in our series, we examine three more problem scenarios with self-saving objects.
The start of a series answering the question: why shouldn't a domain model object save itself?
In this episode, we address the Primitive Obsession code smell with a lesser-known design pattern.
Today, in part 1 of 2, we explore the implications of a common code smell.
Today we have some fun with Enumerable methods in order to check the sorted status of a list.
A new feature in Ruby 2.3 makes it easier to compare hashes by value.
In Ruby 2.3, getting multiple Hash values at once got a little more powerful.
Some variations on a semi-common data transformation.
One of the best ways to better a library method is to rewrite it ourselves!