My favorites | Sign in
Project Logo
                
Search
for
Updated Mar 25, 2009 by cjlee112
CodeReviewGuidelines  
Recommendations for how to do Pygr code reviews.

Keep "code reviewing" and "code rewriting" separate!

We review existing code by having the reviewer directly edit the code in a separate git branch. When the reviewer edits existing code in this way s(he) needs to keep two different impacts separate, by keeping them in two separate git branches:

Once the reviewer is done, the original author(s) of the existing code should review these recommended changes and decide what should be merged to master. To make this job of "reviewing the code review" as straightforward as possible, it is very important that the innocuous changes (code reviewing) be separate from the potentially significant changes (code rewriting). Knowing which changes require "paranoid" analysis (code rewriting) vs. which don't will make it easier and faster to review all these changes.

Git makes this separation really easy, and makes the potential disadvantages / overhead fairly minor.

Process

Say you were performing a code review of the seqdb module. You would first


Sign in to add a comment
Hosted by Google Code