Overview

 

Code review is systematic examination (often as peer review) of computer source code intended to find and fix mistakes overlooked in the initial development phase, improving overall quality of software and can also be used as a tool to better develop skills at the same time. (Wikipedia:Code_review)

 

 

Purpose

Code reviews have two purposes. Their first purpose is to make sure that the code that is being produced has sufficient quality to be released. In other words, it’s the acid test for whether the code should be promoted to the next step in the process. Code reviews are very effective at finding errors of all types, including those caused by poor structure, those that don’t match business process, and also those simple omissions. That’s why they are an effective litmus test for the quality of the code.

 

The second purpose is as a teaching tool to help developers learn when and how to apply techniques to improve code quality, consistency, and maintainability. Through thoughtfully evaluating code on a recurring basis, developers have the opportunity to learn different and potentially better ways of coding.

 

 

In the end, I don’t think it’s a matter of picking [pair programming over code review] so much as ensuring you have more than one pair of eyes looking at the code you’ve written, however you choose to do it. When your code is reviewed by another human being -- whether that person is sitting right next to you, or thousands of miles away -- you will produce better software. That I can guarantee. --http://www.codinghorror.com/blog/archives/000999.html

 

 

References & Resources

http://en.wikipedia.org/wiki/Code_review
http://weblogs.asp.net/rosherove/archive/2007/03/13/test-reviews-vs-code-reviews-some-helpful-tips.aspx
http://worsethanfailure.com/Articles/Guest_Article_0x3a__Our_Dirty_Little_Secret.aspx
http://www.codinghorror.com/blog/archives/000824.html
Frequently Asked Questions about mozilla.org’s Code Review Process
http://www.homeport.org/~adam/review.html
http://www.developer.com/java/other/article.php/3579756
In Praise of Code Reviews
Pair Programming vs. Code Reviews
terminology, structure, benefits, etc.
http://www.possibility.com/epowiki/Wiki.jsp?page=CodeReviews
short discussion and some links
good study with references

 

 

Category tags

BestPractices Programming Productivity CodeReview


 

Comments

No comments yet.

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: