Technical debt and code review · Starting Up
What is technical debt?
Checked 24 November 2026
Technical debt is the extra time every change costs because of shortcuts already in the code: the interest on the debt. Taken on knowingly to ship sooner, it can be a sound trade; left in code you change every week, it slows everything.
By case
-
If the debt sits in code nobody touches
Leave it.
You only pay the interest when you change that code.
-
If it sits in code you change every week, such as auth, payments or the data model
Pay it down a little each time you work there.
That is where the interest is paid on every change.
-
If you cut a corner knowingly to hit a launch
Write it down with a date to come back to it.
Fowler calls this deliberate, prudent debt: fine if you know it is there and repay it.
-
If the team only now sees a better design
Treat it as learning and improve the code when you next change it.
Fowler notes good teams find this kind of debt as they learn, whatever they do.
The figuresEach with where it was read
- Year Ward Cunningham first used the debt metaphor, in his OOPSLA experience report 1992
- Fowler's example: days for a feature in clean code, days with the cruft, the interest, and days to remove the cruft 4, 6, 2 and 5 days
What goes wrong
Calling all code you dislike debt and asking for a rewrite.
Using 'we will take on some debt' as cover for skipping tests on code that will live for years.
Spending weeks cleaning code that works and rarely changes.
A worked example
In Fowler's example a feature takes 4 days with a clear module structure and 6 with the cruft, so 2 days are interest; removing the cruft takes 5 days, which pays off only if similar features are coming.
Go deeper6 sources
-
Technical Debt
Martin Fowler · martinfowler.com · Essay · About a 10 minute read
This is the canonical explanation of what a reviewer actually means when they flag your inherited code as risky. Fowler frames messy code as debt you pay interest on: every future feature gets slower, which is the real cost you inherit from a rushed agency build. Read it to understand why a reviewer separates crufty-but-stable code (leave it) from cruft in code you touch often (fix it), so you can read a review report with judgment instead of panic.
-
Technical Debt Quadrant
Martin Fowler · martinfowler.com · Essay · About a 5 minute read
This is the canonical framing for exactly your question: not all messy code is the same. Fowler splits debt on two axes, whether you took it on deliberately or by accident, and whether the call was prudent or reckless. For a two-person team shipping fast, the useful cell is deliberate and prudent: you know you cut a corner, you thought about the payoff, and you plan to come back. That is a healthy place to be, and this piece gives you the language to tell it apart from the reckless kind that actually hurts.
-
Paying down tech debt
Gergely Orosz and Lou Franco · The Pragmatic Engineer · Article · 20 min read
Concrete, field-tested advice on deciding which debt to pay and how to justify it. Orosz and Franco share practical rules of thumb for tying rewrite pressure to real jumps in usage or scope, which matches your point about rebuilding under real load rather than on a hunch. It also covers measuring the payoff so cleanup does not become an endless detour.
-
Bottlenecks of Scaleups: Tech Debt
Tim Cochran and Carl Nygard · martinfowler.com · Article · 20 min read
This lays out when accumulated shortcuts actually start slowing a growing company down, versus when they are just cosmetic. It gives you language to tell your co-founder the difference between debt that is costing you real velocity and debt that is only annoying. Use it to pressure test whether your no-code setup is genuinely blocking growth.
-
Is High Quality Software Worth the Cost?
Martin Fowler · martinfowler.com · Article
This answers the exact fear behind your question: does keeping code clean slow you down? Fowler separates internal quality (architecture users never see) from external quality, and argues that good internal quality pays for itself within weeks, not years. It is the economic case for keeping the parts you touch weekly clean.
-
The WyCash Portfolio Management System (OOPSLA 1992 experience report)
Ward Cunningham · c2.com · Essay
The short report where Ward Cunningham first used the debt metaphor for code.