Duplication or the Wrong Abstraction?

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Two teams' invoice screens look similar, so someone merged them into one shared component. Now it has a dozen flags and every change for one team breaks the other. Explain when removing duplication helps, when it hurts, and what you'd do now.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →