Code Review

For some motivation, please check out this quote:

I believe that peer code reviews are the single biggest thing you can do to improve your code.

    – Jeff Atwood, Co-Founder of Stack Overflow

Source: http://blog.codinghorror.com/code-reviews-just-do-it/

Code reviews are widely used in industry as a means to improve code quality. Often, code reviews will be required before finalizing any contributions to a software repository. For instance, a very common workflow for code reviews is to use Git branches for feature development, which are merged into the master branch only after detailed comments are provided and any issues are resolved.

There are lots of good resources on the nuts and bolts of implementing code reviews in different settings. Regardless of the technical details of the review, it’s important to remember that there is a person on the other side of the review, and to approach the exercise with respect and awareness of your own biases.

Software Design instructors are not seeking to find every last tiny error in the code. Rather, we will focus on providing course corrections and high-level feedback that can help you shape your work over the final weeks of the project. As such, we’d like you to engage with the following steps to frame your code review.

0) Review the Documentation worksheet:

1) Prepare your repository for external readers and code review:

Work through the exercises above to prepare your project repository for the review. You should:

2) Point us in the right direction:

Complete the Code Review Framing Canvas assignment so that we can prepare to give you useful feedback.

Some ideas for choosing code sections:

Ensure that each code section has sufficient documentation for a reviewer to figure out when it’s called, what it does, and how it does it.

To point us to 2-3 specific sections of code. Check out the instructions on the Recipes page to see how to create links to your work on GitHub.