{"id":1113,"date":"2026-12-01T17:53:00","date_gmt":"2026-12-01T16:53:00","guid":{"rendered":"https:\/\/grindloop.ai\/blog\/?p=1113"},"modified":"2026-12-01T13:37:47","modified_gmt":"2026-12-01T12:37:47","slug":"harsh-feedback-code-review-interview","status":"publish","type":"post","link":"https:\/\/grindloop.ai\/blog\/harsh-feedback-code-review-interview\/","title":{"rendered":"Harsh Feedback in a Code Review? Fix the Code Before You Answer the Tone"},"content":{"rendered":"<p>A question about harsh feedback in a code review checks whether you keep two things apart. One is the problem in your code. The other is the way it was said. Most candidates blend them. Some defend the code because the tone stung. Others praise the reviewer and skip the tone entirely. The strong answer handles them in order. First, sort the comments and fix what was right, with proof. Then deal with the tone in private, as a separate request, after the fix has landed. Last, show one change that outlasted that pull request. The interviewer will usually press with &#8220;Was the reviewer right?&#8221; Your answer should already say which comments were right and which one you pushed back on. Below, an invented Android engineer named Tomas gets fourteen blunt comments on a caching change.<\/p>\n<h2>Tomas got fourteen blunt comments on a two-day change<\/h2>\n<p>Tomas is a mid-level Android engineer on a food ordering app. He, his team and every number here are made up. He opened a pull request that cached the user&#8217;s order history on the device. The goal was a faster history screen on slow networks.<\/p>\n<p>A staff engineer, Priya, reviewed it the same afternoon. She left fourteen comments. The first one read, &#8220;This is wrong. Did you run it at all?&#8221; Most of the rest were one or two words. &#8220;No.&#8221; &#8220;Rename.&#8221; &#8220;Why?&#8221;<\/p>\n<p>One comment mattered more than the others. The cache was never cleared on logout. On a shared phone, the next person to sign in would see the previous user&#8217;s orders. That was a privacy bug. It would have shipped.<\/p>\n<p>Tomas wrote a reply that defended his testing. He did not send it.<\/p>\n<h2>The answer Tomas gives, before we take it apart<\/h2>\n<p>Tomas and Priya don&#8217;t exist. The structure is what carries over. Swap in your own review, your own bug and your own reviewer.<\/p>\n<blockquote>\n<p>I opened a pull request that cached order history on the device. A staff engineer left fourteen comments within a few hours. The first one asked if I&#8217;d run the code at all. Most were one word. My first draft reply defended my testing. I deleted it and waited until the next morning.<\/p>\n<p>Then I sorted the comments. Three were real correctness problems. The worst was that we never cleared the cache on logout. On a shared phone, the next user would see someone else&#8217;s orders. Nine were naming or style. Two I didn&#8217;t understand.<\/p>\n<p>I fixed the three first and added a test that logs out and checks the cache is empty. I took all nine style changes. I asked about the two I didn&#8217;t follow. On one, I disagreed. She wanted the cache in memory only. A memory cache would lose the speedup on a cold start. That speedup was the point of the change. She agreed after seeing the startup numbers.<\/p>\n<p>After it merged, I asked her for fifteen minutes. I opened by thanking her for the logout catch. Then I made one request. One-word comments were hard for me to act on. Could she add a line of reasoning to the blocking ones? She hadn&#8217;t realized how they read. Her next reviews on my work marked nits separately.<\/p>\n<p>I also added a logout check to our pull request template. Two months later it caught the same bug in a teammate&#8217;s change.<\/p>\n<\/blockquote>\n<p>Each paragraph does one job. The sections below take them in order.<\/p>\n<h2>Waiting before you reply is part of the answer<\/h2>\n<p>The first paragraph admits the defensive draft. An interviewer who hears &#8220;I took it well&#8221; has no way to see how. A draft you deleted shows the reaction and the control together.<\/p>\n<p>Google&#8217;s public guide on <a href=\"https:\/\/google.github.io\/eng-practices\/review\/developer\/handling-comments.html\" target=\"_blank\" rel=\"noopener\">how to handle reviewer comments<\/a> sets the same rule. &#8220;Never respond in anger to code review comments,&#8221; it says. The page shows no date. It also suggests stepping away when you are too upset to reply politely. Tomas waited until morning. Say how long you waited in your own answer. It is a small detail that makes the rest believable.<\/p>\n<h2>Sort harsh feedback in a code review by what is true<\/h2>\n<p>The second paragraph is the core. Tomas sorted the comments into three groups before he replied to any of them. Some were correctness problems. Some were style. Some were unclear.<\/p>\n<p>Google&#8217;s guide frames this step as a question. It tells authors to ask what constructive point the reviewer is making, even when the reviewer seems frustrated. Sorting is how you answer that question in practice. It also gives the interviewer counts. &#8220;Three of fourteen were real bugs&#8221; is evidence. &#8220;Some of it was fair&#8221; is not.<\/p>\n<p>Interviewers know harsh reviews happen. In a <a href=\"https:\/\/research.google\/pubs\/predicting-developers-negative-feelings-about-code-review\/\" target=\"_blank\" rel=\"noopener\">2020 study<\/a>, Google researchers surveyed 1,317 of their developers about negative experiences in review. They called these experiences &#8220;pushback.&#8221; The study found them relatively rare. When they did occur, they had real costs. So the event alone tells the interviewer little. What you did with the comments tells them a lot.<\/p>\n<h2>Fix the real bugs first, then push back on one with numbers<\/h2>\n<p>The third paragraph orders the work. Correctness came first. The fix came with a test. The test is the proof. Without it, &#8220;I fixed it&#8221; is a claim.<\/p>\n<p>Then Tomas disagreed with one comment. Keep a disagreement in your answer if you had one. A candidate who accepted all fourteen comments sounds agreeable. The interviewer can&#8217;t tell whether they checked any of them. Google&#8217;s guide shows how to disagree. Its good example explains the tradeoff you chose and asks whether the reviewer prefers another one. Tomas did that with startup numbers. He did not argue about seniority or tone.<\/p>\n<p>His disagreement was about the code. A pushback on the merits shows judgment. A pushback because the comment was rude shows that the tone decided your engineering.<\/p>\n<h2>Raise the tone once, in private, after the merge<\/h2>\n<p>The fourth paragraph is where many candidates stop too early. They fix the code and say nothing about the tone. That can sound like avoidance. Other candidates lead with the tone. That sounds like a complaint.<\/p>\n<p>Tomas raised it after the merge, so the request could not look like a trade for approval. He opened with the credit. Then he made one specific ask. Google&#8217;s guide gives the same order for comments that aren&#8217;t constructive. Talk to the reviewer in person or by video, or send a private, kind message. If that doesn&#8217;t work, the guide suggests going to your manager.<\/p>\n<p>Name the specific ask in your answer. &#8220;I asked her to be nicer&#8221; is vague and a little childish. &#8220;I asked for one line of reasoning on blocking comments&#8221; is concrete. It is also something a busy staff engineer can actually do.<\/p>\n<h2>End with something that outlasted the pull request<\/h2>\n<p>The last paragraph turns one review into a lasting change. Tomas added a logout check to the team&#8217;s pull request template. Two months later, it caught the same bug in someone else&#8217;s code.<\/p>\n<p>The detail shows Tomas read the review as a sign of a team blind spot. Anyone on the team could have shipped that bug. It also answers a follow-up before it comes. Interviewers often ask whether the feedback changed how you work. A template line with a second catch is a yes they can check.<\/p>\n<p>If you have no team-level change, name a personal one. Maybe you now run a logout test before every caching change. Give the next time it mattered. Sometimes the feedback was only partly fair. Our post on <a href=\"https:\/\/grindloop.ai\/blog\/tell-me-about-a-time-you-received-critical-feedback\/\">critical feedback that was only partly right<\/a> covers that version.<\/p>\n<h2>One word in your answer can undo the rest<\/h2>\n<p>Candidates often describe the reviewer with a label. &#8220;Toxic,&#8221; &#8220;a jerk&#8221; or &#8220;known for being difficult&#8221; are common. The interviewer can&#8217;t check the label, so they judge you by it. It also suggests you might describe their team the same way next year.<\/p>\n<p>Describe the comment instead. Quote its words, short and exact. Try &#8220;The first comment asked if I&#8217;d run the code at all.&#8221; Then the interviewer can judge the tone. That usually earns more sympathy than a label does. Then say what the reviewer got right. If the reviewer got nothing right, you have a story about a bad review. That fits a <a href=\"https:\/\/grindloop.ai\/blog\/difficult-feedback-to-a-peer-interview\/\">peer feedback question<\/a> better, told from the other side.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Asked about harsh feedback in a code review? Sort the comments, fix what was right, push back on one, then raise the tone in private. Full sample answer.<\/p>\n","protected":false},"author":4,"featured_media":1114,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"Harsh Feedback in a Code Review? Fix the Code Before You Answer the Tone","rank_math_description":"Asked about harsh feedback in a code review? Sort the comments, fix what was right, push back on one, then raise the tone in private. Full sample answer.","rank_math_focus_keyword":"harsh feedback in a code review","footnotes":""},"categories":[10],"tags":[35,34,16,19],"class_list":["post-1113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-behavioral","tag-behavioral-interview","tag-code-review","tag-interview-prep","tag-soft-skills"],"_links":{"self":[{"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/posts\/1113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/comments?post=1113"}],"version-history":[{"count":1,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/posts\/1113\/revisions"}],"predecessor-version":[{"id":1115,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/posts\/1113\/revisions\/1115"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/media\/1114"}],"wp:attachment":[{"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/media?parent=1113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/categories?post=1113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grindloop.ai\/blog\/wp-json\/wp\/v2\/tags?post=1113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}