Today’s offering is another post inspired by a question on Quora about when to refactor away duplicate code.
The specific question was, “What is the limit for duplicate code to start refactoring?”
I recently answered a question on Quora about when to consider refactoring code.
Now, metrics are not bad. But, they are often used in bad ways.
It might help to be aware of some of the side effects of mismanagement of metrics. From inadvertently creating behaviors that actively work against our best interest, to altering the…
I stumbled upon a thread recently where the question was posed, “What are some common mistakes when refactoring code?”
The answers were interesting. The more I read, the more I realized that folks weren’t talking about the same thing. They…
Now, metics are not bad. But, they are often used in bad ways.
It might help to be aware of some of the side effects of mismanagement of metrics. From inadvertently creating behaviors that actively work against our best interest, to…
Some of you are familiar with my prior material on Technical Debt. Many of you may not be. So let’s go over it quickly.
There are three basic parts to the canvas — Definition, Experiment, and Conclusion.
In a previous article, we looked at Velocity as a lagging indicator of a complex system. Here, we are going…
I recently worked with a team on a fairly significant refactoring. I paired with different team members each day over a three day period as we moved code around; pushing responsibility into other classes, reducing complexity, and making the code more expressive. On the fourth day, I put…