Quality & Team

Technical Debt

Foundational

Technical debt is like a loan. You take a shortcut to gain speed now, and you pay later through slower changes and more bugs. A small, planned shortcut can be a useful tool. A shortcut taken blindly, never fixed, and left to grow makes the codebase hard to change. Take shortcuts on purpose, write them down, and pay them back.

Not all debt is equal. Planned, sensible debt is a fair trade-off, for example: "we will ship the simple version now and improve it after launch." This works when you decide it on purpose and record it. Careless or accidental debt is a mess made through haste or lack of knowledge. It has all the cost and none of the benefit. The skill is to tell them apart, choose debt on purpose, and never pretend a shortcut is free.

One line must never be crossed: security and compliance are not negotiable. Cutting a corner on a fail-closed check, tenant isolation, or an audit trail is not debt you can repay later. It is shipping a vulnerability. It is fine to make speed-versus-quality trade-offs openly. It is never fine to weaken a control quietly to hit a date.

Borrow deliberately

Keep debt on the right side of the line

A vulnerability in disguise // temporarily skip the screening check to hit the demo deadline
// catch { /* ignore */ } then approve anyway

This is not a shortcut to repay later. It is a fail-open AML control that approves customers with no screening. You must raise it and refuse it, not record it as 'tech debt'.

Legitimate debt, recorded and bounded // TODO(JIRA-1234): MVP uses a synchronous call to the report builder.
// Acceptable for launch volumes; move to a background job before we
// onboard tenants over ~10k customers. Owner: payments team.

A deliberate trade-off with a reason, a limit, a ticket, and an owner. This is debt used as a tool: visible and repayable.

Self-review checklist

Why it matters: Unmanaged technical debt is the quiet reason teams slow down. Every change gets harder and riskier until nobody can move safely. Managed on purpose, debt is a fair tool for moving fast when it counts. The one hard rule is that security and compliance are never the corner you cut. That is not a shortcut; it is shipping a breach.