<aside> ☝ This guide walks through the philosophy of why we conduct code reviews, and princples when reviewing other people's code.

</aside>

Philosophy

Code reviews have become a standard in programming, with the main purpose being to catch bugs and prevent breaking the code base. However, there is a lot more to code reviews than just this. Conducting code reviews contributes to many high level goals.

A lot of time is spent in code reviews, so let's break down what makes an effective code review.

Communication

At the core, code reviews are just a method of communication. Be mindful of the language you use and how you convey your ideas. Be encouraging, and offer alternative ways on how to implement features with links to examples and documentation.

Also, remember that the GitHub pull request page is only the medium for a conversation. If you feel it would be more effective to have a conversation in person or over the phone, opt for that. It will be easier for both sides, and much easier than going back and forth with GitHub comments.

What to Look For

There are a couple things to look for while doing code reviews. The obvious ones:

Less obvious ones: