News for hackers. Stuff that matters.
Re:Refactoring vs. defactoring by cratermoon on Wednesday October 27, 2021 @07:33PM (#29020428)
Not nearly as much work as untangling the changes-that-broke-something from the changes-that-made-the-code-better. If the first commit is behavior-preserving and the next commit is the one that changes the behavior, it's easy to revert the breakage but keep the improved code.

The other choice is to roll the whole thing back or practice forward-fixing. The latter is an entire discipline in itself.

There are no comments on this comment yet.