MiddleTeamwork

How do you handle it when you disagree with feedback in a code review?

The interviewer wants to know whether you can separate your ego from your code.

  1. Ask questions to understand the reviewer's reasons properly before you reply.
  2. Answer with evidence: measurements, documentation, the team's conventions, not gut feeling.
  3. If you still disagree and the issue is small, go with the reviewer's way or note it to discuss later; don't block the PR.
  4. If the issue is big, move to a direct conversation instead of a long argument in the comments.

One real example, told briefly and with a concrete outcome, is more convincing than a list of principles.