News for hackers. Stuff that matters.
Re:Nobody cares about your clean code by mixmastamyk on Tuesday April 27, 2021 @12:24PM (#26958079)
Semantics, but yes in a partial sense.

When dissatisfied with an approach I'll often copy a class/function or three into new versions. I'll append the names of the old with 0. Then I start writing new ones with the new approach. In effect throwing the old ones away, even if sometimes it is a gradual process.

This happens frequently in a new project, less frequently in a maturing project, to never in a maintenance project.

However, it has a lot in common with (a severe) refactoring. Generally you're keeping the "overhead" docs, code, and even files, so it is not a complete rebirth, perhaps ~30% of the core code.

There are no comments on this comment yet.