In the world of coding, perfection is but a myth. Thus, remember these golden rules to keep your code review process grounded and balanced.

1. πŸ—£οΈ Opinions are Not Absolute

Your opinions do not make you the ultimate authority. When reviewing a solution, rely on technical facts and standards rather than personal preference.

2. πŸ’¬ Resolving Conflicts

Code review is not a contest to be won. Remember, you are all teammates working towards a common goal. Always seek to resolve conflicts and work together.

3. 🚫 No Such Thing as Perfect Code

No code can ever be deemed perfect. The key lies in striving for balance in your code.

4. 🎨 Automate Code Style Verification

Utilize automated tools to perform code style verification. If you come across changes that do not match the style guide, take it as an opportunity to improve our CI tools. This will save time and improve the quality of the code review process.

πŸ” 5. Assessing Code Quality

Here are some general recommendations to assess the quality of the code:

  • βœ… Changes do what the developer intended. Everything works as needed in the task.
  • 🧐 Changes aren’t too complex.
  • πŸ“ Author picked good names.
  • πŸ’¬ Author added comments.
  • πŸ“– Documentation

πŸ§ͺ Testing

Encourage the author to add unit, integration, or end-to-end tests as appropriate for the change, if they haven’t done so already. Testing is crucial to ensure the code’s functionality.

🌟 Kindness and Positivity

Remember to be kind and give positive feedback during the review process. Mentor your teammates to foster a culture of growth and development.

In conclusion, upholding these essential principles will lead to a more effective and collaborative code review process.

Written by

Albert Oplog

Hi, I'm Albert Oplog. I would humbly like to share my tech journey with people all around the world.