What is technical debt, and when is it okay to take it on?
Technical debt is the future cost of choosing a quicker or simpler solution now instead of a better one. Like financial debt, it is not automatically bad: it can let you ship sooner, as long as you know you are borrowing and plan to pay it back.
Common forms of technical debt:
- Copy-pasted code that should be shared
- Missing tests around critical paths
- Outdated dependencies and frameworks
- Workarounds for problems that were never properly fixed
- Architecture that fit the product two years ago but not today
When taking on debt can be reasonable:
- Validating whether a feature is wanted at all
- Hitting a hard deadline with a known follow-up plan
- Prototypes that will be thrown away (and actually are)
When it tends to hurt:
- When it is invisible, with no ticket or note explaining the shortcut
- When the "interest" compounds, slowing every future change in that area
- When the prototype quietly becomes production
Some teams reserve a fixed share of each sprint for paying down debt; others tie cleanup to feature work in the same area.
How does your team track and prioritize technical debt? Have you found a way to make the case for cleanup to non-technical stakeholders?
Comments · 3
For startups, the key is knowing which debt you're taking on. Shortcuts in the core product loop are riskier than in an internal tool.
The metaphor holds: interest is the extra time every future change costs. The decision should be about whether the speed now is worth paying that later.
Same applies to design debt. Quick fixes in UI patterns pile up until nothing feels consistent.