NaN code review procedure

Version: $Id: review.html,v 1.3 2001/03/05 12:50:23 chrisp Exp $
It is good practice to let your code be reviewed by other people before commiting changes.

Index

1. Why do I want to have my code reviewed?
2. What should I do to do a good review?
3. Some advice on reviewing?

1. Why do I want to have my code reviewed?

Before you commit changes to the code, it is good to let someone else inspect your code. This does two things: Ask any other developer to do the review (it is supposed to be a peer-to-peer review after all).

2. What should I do to do a good review?

There are two situations in which a review is in order: when creating code from scratch, and when adding/modifying existing code (e.g. to fix a bug). Apart from the amount, there is no difference. It is often helpful to do the review in the presence of the person who made the changes, so you can ask him about what he did, and why.

Reviewing is very simple: read the changes, and think about them for a while! Make notes of the mistakes you find, and send/give them to the author. Draft a little report, and send it to [email protected]. The report needs to contain the following information:

I use this data to monitor the software engineering process.

3. Some advice on reviewing?