| I have some shitty code that runs an important part of one of my SaaS businesses. I'd love to refactor it. I'd love to swap out the HTTP library that it uses with the better one that the rest of the project uses. I'd love to remove all the nesting and complexity. I'd love to make it not an eyesore. But here's the problem: - In the past five years, it has never failed. - In the past five years, it has not needed to adapt. - If I change it successfully, it will make exactly zero difference to my paying customers. - If I change it unsuccessfully, it will break a core part of the system that people are paying for. If I were to refactor it at this point, it's really only to pander to my own ego, which probably isn't a sensible business goal. |
The code you are talking about here sounds very low drama, which is code that I love.
Maybe we should distinguish between "pretty" code and "shitty" code?