In previous episodes we've used the Struct class in passing to quickly construct classes. This time, we put Struct in the spotlight, and put it through its paces. You'll want …
In today's episode, we revisit episode 11 (Method and Message), and take a look at a way to make the coupling between objects even looser, by making the name of …
Sooner or later you'll want to subclass Array. This episode looks at why that's a bad idea, and presents an alternative.
In this episode, we explore command/query separation by looking at what happens to unit tests when the separation breaks down.
How to find out if there is a super method to be called, and other tricks for using super within a module.
In this final installment on the #fetch method we look at #fetch beyond Hash; #fetch with nested hashes; re-using default blocks; and more.
A dive into some of the dark corners of the `super` keyword.
Sometimes one instance is all you need.
How to use Hash#fetch to provide defaults for missing keys, and why you might prefer that to other techniques for defaulting values.