← Everyone's take

TAKES · Ruth answers

When should we rewrite it?

When should we rewrite it?“You're looking at the rewrite. From 2011.”Ruth Lindqvist, The Maintainer

💡 WHY RUTH IS RIGHT

Legacy code is ugly partly because it is dense with knowledge: the leap-year invoice branch, the retry for a partner API that misbehaved in 2014. A rewrite rediscovers each one as an incident. Today's system was someone's clean replacement too. Refactoring keeps the edge cases.

✅ RIGHT WHEN

The old system encodes years of edge cases that nobody fully documented.

🚩 TOO FAR WHEN

The platform is unpatchable and nobody can be hired to work on it, and the plan is another careful refactor.

See all 12Ruth's profile