Insight · legacy modernisation
Rewrite, or repay the debt? A one-page test for a ten-year-old app
Most rewrite decisions are approved on the strength of a demo, not a measurement. Six questions we ask before anyone opens an editor.
Every few years a slide appears: the app is ten years old, the framework is out of support, the team is tired. The slide offers three options — rewrite, refactor, carry on — and a recommendation that almost always points at rewrite. Nobody argues, because the alternative sounds like agreeing to the status quo.
We have sat on both sides of that meeting. The pattern is not that rewrites fail. It is that they are approved before anyone measures what the current system actually costs.
What a rewrite is really buying
A rewrite buys three things, and only three: a new technology baseline, a chance to change the shape of the data model, and the ability to staff the work with people who are still available. Everything else people promise — faster delivery, fewer bugs, happier users — is a hope attached to those three, not a consequence of them.
That matters because the cost side is always concrete. Rebuilding a system that real customers depend on means running two of everything for a while: two releases, two sets of defects, two support paths. If the app touches money, identity or inventory, the parallel period is not a phase you can compress by adding people.
The test we run before opening an editor
Six questions. If more than two answers are “we don’t know”, the decision is not ready, whichever way it points.
- Which changes are expensive today, and how expensive? Not “the code is messy” — a named change, a real estimate, a comparison with what it should cost.
- What is the defect load, split by cause? Data, integration, UI, or specification. A rewrite fixes the first two only if the seams move with it.
- Which integrations would have to be rebuilt? Count them, including the ones nobody documents because they have not changed since 2019.
- Who can maintain the new stack in two years? If the answer is “the same three people”, you have moved the risk, not removed it.
- What will run in parallel, and for how long? A number, with an owner.
- What would make us stop? A rewrite without a stop condition is a budget, not a plan.
The middle path nobody pitches
Most of the value people want from a rewrite can be taken in slices, at the seam rather than at the whole. Replace the authentication layer. Move one high-churn screen to the new stack and leave the rest running. Put the data model behind an interface so the next change does not touch every screen.
Slicing has one unglamorous cost: you have to keep the old thing alive while the new thing earns its place. That is engineering work, not a launch. But it keeps the customer-facing surface stable, and it produces evidence each quarter instead of a go-live you either survive or do not.
There is also a debt-side option people forget: pay down the parts that block change and leave the rest alone. An app with an ugly but stable reporting module and a clean, well-tested payment path is in better shape than its file tree suggests.
What we would put on the slide
Not three options. One page: the named expensive changes, the integration count, the parallel-run window, the staffing answer, and the stop condition. If that page argues for a rewrite, the rewrite will survive contact with the finance committee. If it argues for slices, you have saved a year.
We do this assessment in four weeks, usually alongside the team that would have to do the work, because the estimates are only worth anything if the people who will live with them wrote them.
Working through this now?
