posted 21 years ago
Steve McConnell's Code Complete has a nice dozen pages or so on reviews. He talks about the various roles, goals, etc.
Inspections are reviews that specifically look for bugs. The author distributes code to reviewers ahead of time, a moderator runs a review session where the author explains code (should not be necessary!) and answers questions, reviewers discuss findings and probably find more bugs together, management stays away. A scribe records findings and recommendations, the moderator assigns rework follows up to see that it is done. The book claims about a 20% productivity increase because people write better code when they know others will read it and because some bugs are actually found, but they might eat up 15% of a project's cost.
There are also "walk through" reviews for the purpose of knowledge transfer, where the author shows the rest of the team how some feature works.
And there is a practice of code reading. This tries to find bugs in individual reading and uses the meeting just to discuss findings. An inspection does more code review during the meeting. Distribute code to sevearl readers, meet to gather their findings.
Any of that help?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi