skip to content

Describe a time you had to work under a team coding convention you disagreed with.

level: juniorimportance: should knowfreq 38%

answer

  1. name the convention and your objection
  2. where you made the case, once
  3. the reason you had not considered
  4. how you complied, visibly
  5. the route you left to revisit

basics

~20 s

Tests whether you can lose an argument and still implement the decision fully. Name the convention, the case you made once with evidence, and how you complied visibly while leaving a route to revisit it.

how to answer

5 beats
  1. the convention and what you objected to
    State the rule plainly and your specific objection in one or two sentences. Keep the setup short, roughly a fifth of the answer, and make the objection concrete rather than aesthetic so the interviewer can weigh it.
  2. the case you made, and where you made it
    Say which forum you used, and make it a legitimate one, such as a standards discussion or a team channel, not a pile of review comments on other people's changes. If you brought evidence, this is where it goes.
  3. the reason you had not known, and the decision
    The strongest version of this answer includes something the team knew that you did not. Say it, and say the moment you stopped arguing. Making your commitment audible to the team is worth a sentence of its own.
  4. how you complied in practice
    This carries the bulk of the airtime. Describe the code you actually wrote under the rule, including anywhere you went further than required, and be explicit that you did not carve out a private exception for yourself.
  5. what happened afterwards and what you took from it
    Close with the outcome, ideally with one number, and the revisit route you left behind. Then a short reflection: what you would bring earlier, or what changed your view about consistency against personal preference.

your answer

5 story prompts
pick a story
  • Pick a standing team convention you disagreed with, not one reviewer's comment on your change.
  • Have ready a reason the team held the rule that you did not originally know.
  • Write the sentence where you said out loud that you were committing to the decision.
  • Name one thing you did to make the rule cheaper for everyone after you lost.
  • This can be the same story as your disagree-and-commit answer, re-angled onto standards.

draft and rehearse your own answer in a learn session

go deeper

This probes disagree-and-commit. The interviewer wants evidence that you can argue a position through a legitimate channel, lose, and then implement the decision without sandbagging it or working around it in private. It also tests whether you can separate personal taste from the value of team consistency, which is most of what a convention buys.

at junior level

This was my second engagement at an agency, on a backend team building an integrations service. The program was running about eleven days behind by week seven, so patience for debate was thin. The team had a rule I thought was silly: no abbreviations in any identifier, ever. We spelled out configuration, repository and authorisation in full, and some lines wrapped badly because of it. I raised it once, in the team channel, with three examples of lines I thought were harder to read under the rule rather than easier. Two people explained the history. Our client's own engineers would inherit this code at handover, and abbreviations invented by an earlier team of ours had genuinely confused them on a previous project. That was a reason I simply did not have, so I stopped. I said in the thread that I was convinced, which turned out to matter more than I expected. The reviewer who had answered me told me later it saved him wondering whether every future review would reopen it. Then I did the part I am actually pleased about. Rather than leaving reviewers to catch the rule by hand, I added the naming check to the linter so it fails in the pipeline. My own changes had been picking up around six naming comments each, and after that they picked up none. I still think the rule is imperfect for internal code. It is also not mine to decide alone.

why this lands

The signal sits in two places: a single legitimate airing of the objection rather than a running campaign, and a reason from the team that the speaker openly did not have. Adding the linter check shows compliance that outlives the speaker's mood. Skipping the audible I am convinced, or ending on I still think I was right, would flatten it.

at middle level

On a later client program I owned two of the four backend services. The team standard was that every outbound call went through a hand-written client wrapper, even for a single endpoint. To me that was ceremony, roughly forty lines of boilerplate per integration, and we were about a fortnight behind at the midpoint of the schedule. Instead of arguing it in review threads, I asked for an afternoon to test my own claim. I pulled the review history from the previous three sprints. Thirty-four comments across nine changes were about the wrapper, which supported me, but I also found two production defects the wrappers had genuinely caught in retry handling, which did not. So the rule was earning something, just not everywhere. I took that to the standards discussion and asked for a narrow exception rather than a repeal: wrappers stay wherever we retry or authenticate, and become optional for read-only internal calls. We agreed the narrower half of what I asked for and wrote it down with a date to revisit at the end of the program. I said plainly in the room that I had wanted more and was fine with the outcome, then implemented the standard as written everywhere it still applied, including in the code I disliked. For my two services, deploys went from four a week to nine. What I took from it is to bring the count rather than the complaint, including the part of the count that argues against me.

why this lands

Two moves earn the rung: evidence gathered against the speaker's own position, and an ask scoped to an exception with a revisit date rather than a repeal. Saying in the room that the outcome was acceptable is the commit half of disagree-and-commit. It would downlevel if the case rested on how much boilerplate the speaker personally disliked.

for a junior

Own-task scope is exactly right here. Show that you raised the objection in a legitimate place rather than in scattered review threads, that you accepted the outcome out loud, and that your code afterwards was indistinguishable from someone who had agreed all along.

for a middle

Bring evidence, not preference: a count of review comments, a timing, a spike you timeboxed. The strong middle version negotiates a scoped exception with a revisit date rather than seeking repeal, and then applies the standard as written everywhere else.

for a senior

You are partly responsible for the rule existing, so talk about the trade you accepted on the team's behalf and how you defended a decision you personally disliked to people who reported to you or trusted your judgement. Never signal privately that you think the rule is stupid.

for a principal

Frame it as the health of the decision process rather than the rule. Was there a legitimate channel, a written rationale, a revisit date? If not, the interesting story is the one where you fixed the absence of a route to change conventions at all.

saying these in an interview costs you the question

  • Complying on the surface while quietly working around the rule
  • Still arguing at interview time about who was right
  • Never voicing the objection anywhere, then carrying resentment
  • Escalating a matter of taste as though it were a defect
  • Bringing only opinion when a count or an example was available
  • Describing the team that outvoted you as unreasonable or set in its ways

  • What would have made you escalate instead of going along with it?
    Draw a line the interviewer can recognise. Taste, ergonomics, and habit are not escalation material; correctness, security, data loss, and legal exposure are. Say the line explicitly and give the form escalation would take, such as putting the risk in writing to the person accountable. Being able to name where you would stop complying makes the compliance in your story sound like judgement rather than passivity.
  • Did the convention ever change, and what changed it?
    Answer honestly, including if it never changed. If it was revised, say what evidence finally moved it and whether you supplied it. If it stood, say what you learned about why, or admit you came around. A candidate who can say the rule outlasted my objection and here is why that was fine reads as far more collaborative than one whose story ends in vindication.
  • How did you talk about that rule with newer teammates?
    This probes whether your compliance was genuine. The answer to aim for is that you explained the rule and its reasoning without editorialising, and kept your own reservation out of the onboarding. If you did grumble about it in front of a new joiner, saying so and saying why you stopped is stronger than pretending you were perfectly disciplined.

context