All jobs / Engineering manager / tech lead / Technical Leadership
Engineering manager / tech lead interview question · 0–1 years
A developer wants a week to refactor a module. What do you say?
The strongest answer
Ask what pain it removes and what it unblocks, size it, and put it on the board next to the product work so the trade is visible
Why it works
Exactly. Debt work is real work; make its value and cost visible and prioritise it honestly.
What a good answer covers
- Ask what pain it removes.
- Size it and make it visible.
- Prioritise next to product work.
- Do not hide it in a feature.
Answers that fall short
- Close, but not the strongest: Approve it quietly and log the time against a feature ticket
Hiding it inside a feature makes the feature look slow and the debt look free. - Weak: Say no for now; features come first this quarter
Features-first every time is how the module becomes the thing that stops features. - Red flag: Say no; refactoring is never roadmap work
A permanent no is a decision to let the codebase rot.
Who gets asked this
More Technical Leadership questions
- How do you make room for technical debt alongside features?
- The team is split on how to structure a new service. How do you get to a decision?
- How do you run a design review so the hour is worth it?
- The team wants to rewrite the core service from scratch. How do you respond?
- How do you raise code quality without stopping delivery?
- What belongs in a technical strategy for your area?
- How do you manage technical debt at organisation level?
- A new class of developer tooling has appeared and several teams want to adopt it immediately. How do you…