
Tham khảo: https://levelup.gitconnected.com/my-code-review-experience-as-a-junior-developer-what-i-learned-and-how-to-review-as-a-team-2166a85df1c2
Hey there, curious minds! 👋
Welcome to my newsletter, where I share what I’ve been learning, thinking about, and exploring in the tech world. If you don’t know me:
Hi, I am Sumonta Saha Mridul. I’m an Associate Software Engineer at Cefalo. I regularly share what I learn through weekly posts on LinkedIn, Dev. to, and Medium. Also, I run a small YouTube channel where I try to share helpful content for developers.
As a junior developer, especially in the AI era, where almost everything can be generated by AI, it’s hard to continuously improve and keep learning. One of the best ways to grow is by reviewing and trying to understand existing code. Yes, at an early stage, it’s hard, things seem complicated, and you might not know the best practices. But if you don’t start now, it will be difficult to go far in this industry.
Code reviews are not just about finding bugs. They are about learning, sharing, and improving the overall quality of the system. The goal is simple: to improve the system while learning.
For the last few months, I got the chance to review and mentor teammates and review some codes and PR’s at Cefalo . I took it as a challenge. But before jumping in directly, I did a little bit of research: how to be a good code reviewer? I started learning from my seniors, how they review my code, what they look for, and how they understand things so quickly.
Here, I’m just sharing all the knowledge and learning I gathered throughout this time.
The first rule of reviewing code is remembering that the goal is to improve the code, not to insult the developer.
Ask yourself: “How can I help this developer write better code in the future and grow more?”
Remember: The behavior of senior engineers sets the tone for the entire team culture. Junior engineers observe what you do, how you give feedback, how you communicate, how you handle mistakes, and they start to repeat that behavior to others. In long time. that how a culture shapes in a team.
Goal: Help each other write better code in future and build a quality system. You’re there to help improve the code, ensure team standards, and learn not to just find flaws and mistakes
The way you give feedback shapes the whole code review experience. Personally, from my experience, I feel this is one of the most important parts of a code review. Your words can either motivate someone to learn and improve or completely kill their confidence.
💬 Instead of: “This is wrong.” Say: “I’m struggling to understand this part. Can you walk me through it?”
Be respectful, curious, and suggestive. Examples of Good Review Comments:
One of the best things I’ve experienced in my journey at Cefalo is how we approach code reviews. We never use “you”, we always say “we” in our comments. It creates the feeling that we’re solving the problem together, not pointing fingers. For example:
This small change gives the developer a positive vibe and makes them feel more involved and comfortable in the review process. It creates a supportive, team-like environment. I actually learned this from one of my mentors, Simanta Deb Turja and Md Naem bhai.
This structure helps make feedback clear, respectful, and actionable.
When reviewing code, look at the big picture first, then the details.
Good code reviews are not about nitpicking or micromanaging. Focus on:
Never leave a comment as “please do X”. Instead, it must be “please do X because Y”.
Honestly, I also make this mistake sometimes. I get stuck on small parts of the code instead of thinking about the full context.
Sometimes I use tools for code review and the first thing I try to do is understand the context of the changes. And to be honest, I’ve also learned a lot of new things just by reviewing others’ code.
Also, remember you can be wrong too. Be open to accepting your mistakes.
The main goal is learning for both sides. Code review should be a two-way process, not just one giving and one receiving. It is a learning opportunity for you and the junior developer.
🤝 Remember:
🧡 Thanks for Reading!
That’s all! I hope you learned something new or saw tech from a new angle. If you enjoyed this, feel free to share it or comment on your thoughts. I’d love to hear your thoughts. Until next time, keep learning and building!
Sumonta Saha Mridul, Associate Software Engineer I, Cefalo Bangladesh Ltd.
I regularly share what I learn through weekly posts on LinkedIn, Dev. to, and Medium. Also, I run a small YouTube channel where I try to share helpful content for developers.
You need to login in order to like this post: click here
YOU MIGHT ALSO LIKE