tech·ni·cal debt
/ˈtɛk.nɪ.kəl ˌdɛt/ (TEK-nih-kul det) noun
- The future cost of shortcuts taken now; like financial debt, it accrues interest as every change works around it. A hard-coded tax rate saved a day at launch and cost two weeks when the company expanded abroad.
Origin
Coined by Ward Cunningham in 1992, comparing shipping imperfect code to borrowing money.
In practice
Debt taken on purpose, with a note on how to repay it, is a tool. Debt nobody recorded is just a mess.
Say to your AI
Implement the quick version, but add a TECH-DEBT comment explaining the shortcut, its risk, and what the proper fix would be.
In plain words
- shortcuts are slowing us down now
- messy code we keep working around
- hacks piling up
- every change takes longer than it should
See also YAGNI (you aren't gonna need it) Chesterton's fence premature optimization