Some more indications that you might not be using Mock Objects to best advantage.
Search results for: episode 66?s=episode 66
616 results found.
Episode #275: Antique Shop
Revisiting the idea of "referential transparency", today we look at some unforseen side-effects of a method that modifies its arguments.
Episode #268: Complex Predicate
Today we'll refactor some real-world business logic for clarity and ease of debugging.
Episode #246: Values At
Today's dish is a quick little refactoring that demonstrates working with multiple values pulled from a Hash.
Episode #239: Parameter Default
Think you know everything there is to know about parameter defaults? Think again!
Episode #237: Require
As we continue to talk about the process of loading code in Ruby, today we look at how requiring features differs from loading files.
Episode #222: String Partition
Today we look at a lesser-known but handy pair of methods on Strings.
Episode #214: Conversion Ratio
Today we puzzle through a design problem that threatens to result in dozens of extra methods.