Code reviews are an important process that not only maintains software quality but also improves technical skills and shares knowledge across the team. However, if done incorrectly, reviews not only take time, but can also have a negative impact on interpersonal relationships within the team. In this article, we will explain the key points for conducting code reviews that are efficient and positive for both reviewers and reviewees.
Points for reviewers (those who issue codes)
Those who have their code reviewed must try to “minimize the reviewer’s time.”
1. Keep pull requests (PR) small
PRs that involve changing thousands of lines or adding multiple features at a time can be very taxing to review.
- One purpose per PR: Separate “adding new features” and “refactoring existing code” into separate PRs.
- Aim for 400 lines or less: The fewer lines you change, the more likely you are to find bugs and the faster your review will be.
2. Clarify context and intent
Let’s enrich the PR Description (explanation field).
- **Why is this change necessary? **: Paste the background of the issue and links to related issues.
- **How did you solve it? **: When using complex logic, write the design intent concisely.
- How to check operation: It would be very helpful if the reviewer could attach the steps to check locally or a screenshot/video of confirmed operation.
Key points for reviewers (those who view the code)
Reviewers are required to take the stance of making suggestions for improvement, rather than just looking through the code.
1. Eliminate emotions and convey facts and suggestions
Pay close attention to the wording of your comments.
- ❌ “Why are you writing it this way?”
- ⭕️ “Because of 〇〇, I think it would be better to write it like △△ for better performance. What do you think?” Please keep in mind that this is a point about the code, not an attack on people, and make comments in the form of suggestions.
2. Leave what can be automated to tools
It would be a waste to waste review time on trivial issues such as incorrect indentation, unnecessary variable declarations, typos, etc.
- Introduce Linter/Formatter such as Prettier or ESLint and build a system to automatically check using CI (continuous integration). Humans should focus on reviewing “architecture” and “business logic.”
3. Distinguish between “MUST” and “NICE TO HAVE”
Be sure to clearly state whether your points are bugs that absolutely need to be fixed'' or just preferences or suggestions to make things better.''
- Adding a prefix such as
[MUST][IMO][NICE TO HAVE]to the beginning of a comment makes it easier for reviewers to prioritize their responses.
Summary
Efficient code reviews are a combination of the reviewee’s “compassion (easy-to-understand PR)” and the reviewer’s “consideration (constructive feedback).” Let’s thoroughly automate the parts that can be automated with tools and build a team culture that allows time to be spent on essential discussions.

