Skip to main content

Practice: Balancing Feature Development and Technical Debt

Premium

Practice answering the question, "How do you balance feature development and technical debt?"

What the interviewer is looking for:

  • Ability to prioritize and execute.
  • Communication across groups, i.e. cross-team collaboration and stakeholder management.

Here's what a good answer looks like:

"Every engineering team accrues some technical debt, and that's not necessarily a bad thing. If you never have technical debt, then there's a chance you're not moving fast enough — or you're not spending enough time on feature development. But just like real debt, the problem arises when the "interest" on that debt becomes too costly. That means slower development time, recurring bugs, and potentially lower team morale. You have to project into the future and ask yourself whether it would be more costly to maintain the existing code. A good rule of thumb is to dedicate about 20% of your development time to foundational work and technical debt. To make sure we're addressing the right problems, I ask each of my engineers to identify areas of technical debt that are slowing us down. Ideally, we can address most issues during the course of normal feature development, but otherwise I work with the team to prioritize this work on our roadmap.

For example, last quarter I worked with my team to identify some of the technical issues that were slowing us down. We discovered that we were spending almost half of our on-call time dealing with reliability issues in a legacy service that we inherited, which was costing us about 2 days of engineering time per week. I asked one of our engineers to estimate how long it would take to fix, and we realized that even we spent two weeks to re-write the service in the short run, we'd be able to save about 100 days per year that would otherwise have been lost to maintaining the old code. Fixing this issue meant we could were able to unlock significantly more time for feature development for the rest of the year."

Explanation This answer begins context, which is always a winning strategy. First, this interviewee covers some high-level thoughts about technical debt and why it's not always a bad thing, and offers a rule of thumb which would help any EM stay on-track. He mentions that he always includes his team's thoughts on what's slowing them down and why, which is critical for keeping tabs on the health of his team. He then gives an example of a time when he was proactive in investigating issues, and came up with a solution which would save time in the long run, and was able to back it up with data. The answer doesn't explicitly state that he communicated this finding to an outside group, but it's explained in such a way that a cross-functional peer or a higher-up would find it easy to understand and would likely agree that the group should prioritize the fix.

Try it yourself

Record yourself answering this question. When you're finished, score your answer on the criteria below.

Great answers:

  • Demonstrate an ability to prioritize given business goals.
  • Demonstrate a deep understanding of the team, i.e. resources available, and all relevant dependencies.
  • Demonstrate communication skills required to effectively prioritize: listening and asking questions to gather enough context to make a decision, teasing out signal from noise, balancing the interests of multiple groups, diplomacy in saying "no", etc.

Grading Rubric

Prioritizes based on business goals.

☐ Your answer begins by clarifying business goals (the basis for all prioritization at work.)

Deeply understands resources available.

☐ Your answer demonstrates a clear understanding of the resources at your disposal, i.e. given a standard request, you can quickly estimate how long it will take depending on current workload.

☐ Your answer demonstrates that you represent your team well, by supporting and shielding them from unnecessary work.

☐ Your answer includes examples of your top considerations when evaluating a request.

Works effectively with cross-functional groups.

☐ Your answer demonstrates that you listen first and gather all necessary information before making decisions.

☐ Your answer shows that you're able to separate signal from noise, especially when communicating with less-technical stakeholders.

☐ Your answer shows that you're able to balance multiple interests and arrive at the best solutions in terms of business objectives.

☐ Your answer positions you as a diplomat, who is capable of thinking outside the box, but who is also capable of saying "no" respectfully.