19
Is it better to start from scratch rather than refactoring?
(lemmy.sdf.org)
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
The reverse is also sometimes true and it's when a rewrite is justifyable.
I've worked with many systems that piled up a ton of edge cases handling for things that are no longer possible, it makes the code way harder to follow than it should.
I've had successful rewrites that used 10x+ less the amount of code, for more features and significantly more reliable. And completely eliminated many of the edge cases by design.
Yes, there's usually a niche case, right? That's why cargo cult engineering comes nowhere near the real thing.