|
|
|
|
|
by titzer
1621 days ago
|
|
> - If I change it unsuccessfully, it will break a core part of the system that people are paying for. Every refactoring comes at risk of breaking something. So if you refactor this code often, you are risking an outage--the very thing you are trying to prevent! As others have said, if it ain't broke, don't fix it. It sounds to me like said shitty code got lucky in the tech debt casino. But great! Look at it, so you know how it works, but don't mess with it. |
|
Refactoring is code transformations that don't affect functionality. If something broke, that's a failed refactoring.