Monday, January 7, 2019

The Importance of Deleting

At the end of my ride to my current client's office, I ruthlessly hunted down and destroyed a class I didn't need anymore.

It wasn't doing anything. It wasn't bad. I just wasn't using it anymore.

It was in a category of classes that suggests I might need it, too. So this might seem overly fastidious to some. Maybe they are even right.

My observation is that dead code turns to gangrene remarkably quickly. Removing it costs little and pays off big way more often than the reverse is true.