Skip to the page

Techno-managerial · Trade-off

Tech debt or new features

The interviewer asks

Your team's build takes 25 minutes, flaky tests block merges, and a state library is two major versions behind. Product wants three new features this quarter and no slowdown. How do you decide how much time goes to tech debt?

Then

Follow-ups the interviewer asks next

  1. How do you decide which debt matters?
  2. How do you explain it to a product manager who doesn't care about code?
  3. Would you ask for a "tech debt sprint"?
  4. Product says there's no time this quarter. What do you do?
  5. The client pays per feature, not for refactoring. How do you handle that in a service company?
  6. How do you show that the work paid off?
  7. How do you stop new debt building up?
  8. Tell me about debt you paid off and what it changed.

The answer

What a strong answer covers

  • Ranks debt by cost to the business: time lost (25-minute builds × 20 developers × 6 builds a day ≈ 50 hours of waiting a day), incidents, security risk from unsupported versions, and how often that code changes.
  • Talks in outcomes: faster delivery, fewer bugs, less risk. Ties each debt item to the features it slows down.
  • Prefers a steady share (for example 15–20% of each sprint), plus fixing debt inside features that touch that code, over a one-off "debt sprint".
  • No time: starts with the cheapest high-value fix (cache the build, quarantine flaky tests), shows the result, then asks for more.
  • Service company: frames it as risk and maintenance in the contract, bundles it with features, and shows the cost of not doing it.
  • Measures: build time, lead time, flaky-test rate and incident count, before and after.
  • Stops new debt: a definition of done, review standards, decision records.

The red pen

Common traps

Avoid:"rewrite everything"; vague "code quality" arguments; ignoring business deadlines.

Practise this out loud

Say your answer out loud to an AI interviewer that follows up, and get a score for it.

Practise by voice

Practise questions like this out loud

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview