You just got harsh feedback on your code review. How do you manage your emotions?
When you get critical feedback on your code, it's natural to feel defensive or discouraged. The goal is to turn this into a learning opportunity. Here's how:
How do you handle tough feedback in your programming work?
You just got harsh feedback on your code review. How do you manage your emotions?
When you get critical feedback on your code, it's natural to feel defensive or discouraged. The goal is to turn this into a learning opportunity. Here's how:
How do you handle tough feedback in your programming work?
-
Receiving critical feedback on your code can be challenging, but it’s an opportunity to grow. Pause and breathe to process the input calmly. Seek clarification by asking for specific examples or suggestions. Focus on improvement by identifying gaps, embracing the critique, and using it to enhance your coding skills and knowledge.
-
Been through situations where my code reviews has gotten a lot comments, generally such situations happen when either someone is new to the team and not sure about the coding practices or the Pull request is a major or critical change like design changes, infra related changes, security fixes etc. Instead of losing the cool and getting frustrated, Take time to read the comments multiple times and setup 1:1 calls to understand the intent. The ultimate goal of the team is to deliver the best.
-
I'd add one critical point: don't take it personally. Code reviews aim to improve the code, not to criticize you as a person. If there are too many comments you don't agree with, try to understand the reasoning behind them. Discuss alternative approaches, or work towards a compromise that satisfies both perspectives. Even if the feedback seems off, another perspective always broadens your understanding and helps you grow as a developer. Every challenge in a code review is an opportunity to see the bigger picture. In fact, it's far worse if no one reviews your code thoughtfully or just blindly clicks "approve". Usually, the feedback comes from a desire to make the product or system better. Use this as a chance to learn and grow.
-
Receiving harsh feedback can be tough. I'd first take a step back to process my emotions and avoid reacting defensively. I'd then carefully review the feedback, focusing on the specific points raised rather than the delivery. I'd try to understand the reviewer's perspective and look for areas where I can genuinely improve. If needed, I'd schedule a follow-up discussion to clarify any misunderstandings. Ultimately, I'd view it as an opportunity for growth and use it to enhance my skills.
-
To manage my emotions after harsh feedback, I’ll take a step back and reflect on the points raised objectively. I’ll focus on the constructive aspects of the feedback and view it as an opportunity to improve. It helps to separate my personal feelings from the work itself and maintain a growth mindset, aiming for better results next time.