Click here to Skip to main content
15,913,854 members

Survey Results

Do you have code reviews?   [Edit]

Survey period: 21 Aug 2006 to 27 Aug 2006

Having a second set of eyes look over your code is incredibly valuable. But do you do it?

OptionVotes% 
Yes, we do regular formal code inspections and/or reviews12312.95
Yes, we do regular informal code reviews10110.63
Yes, we sometimes to code reviews10511.05
We sometimes review parts of our code11612.21
We very rarely do code reviews17518.42
No, we never do code reviews33034.74



 
AnswerRe: Usefulness? Pin
Cliff Mayo25-Aug-06 8:07
Cliff Mayo25-Aug-06 8:07 
GeneralSolo developer Pin
eggsovereasy21-Aug-06 3:22
eggsovereasy21-Aug-06 3:22 
GeneralRe: Solo developer Pin
TClarke21-Aug-06 5:51
TClarke21-Aug-06 5:51 
GeneralRe: Solo developer Pin
danmorin21-Aug-06 15:53
danmorin21-Aug-06 15:53 
GeneralRe: Solo developer Pin
TClarke21-Aug-06 23:05
TClarke21-Aug-06 23:05 
GeneralRe: Solo developer Pin
Captain Willard22-Aug-06 0:19
Captain Willard22-Aug-06 0:19 
GeneralRe: Solo developer Pin
TClarke22-Aug-06 0:55
TClarke22-Aug-06 0:55 
GeneralRe: Solo developer Pin
danmorin22-Aug-06 1:12
danmorin22-Aug-06 1:12 
TClarke wrote:
To a rigid rationale there is no room for factoring in the magic of such an activity. Reviews are a huge benefit but they can never be more than a hind sight tool.
I'd like to know Microsoft's opinion on this matter. You’ve had an intriguing insight seeing behind that particular veil.


At Microsoft, each team chooses their coding styles and how they do thing. Many teams have chosen the Hungarian coding style (p for pointer, i for integer or index, etc) however some teams, like the Windows NT/XP team, has no coding style at all. As for code reviews, it is usually the developer who calls for a code review and 3 or 4 volunters agree to participate in the review. A "code review" is not a "design review"; it is to find anything wrong in the implementation such as a parameter out of range, memory leak, etc. Many times, a reviewer will ask "what those lines do?". This means the code should have more comments for those particular lines. Sometimes a reviewer may tell that there already exist a routine or object to do such and such, however this is rare because we also have time to discuss design strategies. During the design strategy, the methods and objects are suggested to speedup the implementation. In my experience, all those "meetings" were informal, requested by the developer who wrote the code.

A code review is like proof reading an essay. You do not change your story when you proof read your essay, but may correct a few sentences and perhaps insert a short paragraph.
GeneralRe: Solo developer Pin
TClarke22-Aug-06 1:37
TClarke22-Aug-06 1:37 
GeneralRe: Solo developer Pin
danmorin22-Aug-06 1:47
danmorin22-Aug-06 1:47 
GeneralRe: Solo developer Pin
TClarke22-Aug-06 2:06
TClarke22-Aug-06 2:06 
GeneralRe: Solo developer Pin
Tim Kohler22-Aug-06 7:30
Tim Kohler22-Aug-06 7:30 
GeneralRe: Solo developer - UML Pin
danmorin22-Aug-06 18:29
danmorin22-Aug-06 18:29 
GeneralRe: Solo developer - UML Pin
TClarke23-Aug-06 1:22
TClarke23-Aug-06 1:22 
GeneralRe: Solo developer - UML Pin
NormDroid23-Aug-06 4:37
professionalNormDroid23-Aug-06 4:37 
GeneralRe: Solo developer Pin
John R. Shaw24-Aug-06 15:38
John R. Shaw24-Aug-06 15:38 
GeneralSPI Pin
Paul Watson20-Aug-06 23:34
sitebuilderPaul Watson20-Aug-06 23:34 
GeneralNot yet Pin
Michael P Butler20-Aug-06 21:20
Michael P Butler20-Aug-06 21:20 
GeneralRe: Not yet Pin
GTuritto21-Aug-06 18:11
GTuritto21-Aug-06 18:11 
GeneralNo time to review Pin
Krishnaraj Barvathaya B20-Aug-06 18:26
Krishnaraj Barvathaya B20-Aug-06 18:26 
GeneralRe: No time to review Pin
Colin Angus Mackay21-Aug-06 20:15
Colin Angus Mackay21-Aug-06 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.