Which way do your methods point?
In today's episode, we look at a new example of coincidental duplication: code that appears to be repeated, but really represents different pieces of knowledge.
In this episode we take a method with a large and unweildy signature, and begin to pull parameters out into configurable options.
Today, a story about a refactoring that went south, and turned out not to be a refactoring at all.
Today's episode deals with a small matter of style, one that can have an impact on how easy it is to refactor code.
In today's episode, we'll examine how the availability of tools to aid refactoring can change how we write code.
Today's dish is a refactoring approached from two different perspectives. Enjoy!
We've used the "ghost object" pattern to lazily load attributes of a model object. And we've made a macro to easily declare "ghost-loadable" attribute accessors. Today we complete the generalization …
In previous episodes, we got the Tapas::Queue class under test, using a couple of different thread-testing techniques. Now that it has tests, it's time to refactor. The steps of this …