Comments: Some Thoughts on Refactoring

Comments

that refactoring is like fnissolg, everyone knows it is good to do it, but no one does it).The metaphor reminds me of the one that the suggest we use to explain to our managers that the longer we defer repaying technical debt the more interest we end up paying:Think of code that needs refactoring as a growth . Removing it requires invasive surgery. You can go in now, and take it out while it is still small. Or you could wait while it grows and spreads but removing it then will be both more expensive and more dangerous. Wait even longer, and you may loose the patient entirely.