Notes and Thoughts

The keeping of a second brain

Home

Refactor vs rewrite

links
hackernews article

When faced with significant [tech-debt], whether you refactor or rewrite should depend on where the knowledge of the business is. If knowledge is on the team because the company is stable, rewrite. If knowledge is in the code, because multiple people or teams worked on the code base over the last few years, refactor. a rewrite will be the recipe for disaster.