How do you do code reviews?
I've recently moved from a company with 30 or so developers all based on the same site, to a smaller company with a total of 6 developers working all over the country.
Previously when I was conducting code reviews I'd have the person sitting next to me, or I'd go round to his/her Pc and go over the code with them.
At my new company this isn't feasible as people are all over the place. I've been handed a couple of thousand lines of code to review and I can't just tell someone my thoughts.
The only way I can think of is to write a code review document. So I've resorted to pasting the code into Word and annotating it using the little margin bubble things you get.
is there an easier way to do this? I've long thought that Visual studio should have a meta comment system, which would give you similar outlining features, and allow you to write comments on a higher level.
Are there any tools that do this? If not how do people go about doing distributed code reviews?
You might like to read the Smart Bear book: Best Kept Secrets of Peer Code Review
It's free (including shipping if you're in the US) so there's little reason not to get it. On the other hand, it's a great little book with real world examples on how best to do peer code reviews, so there's plenty of reason to order it.
I wish there were better support for this type of task built into Visual Studio. There are some interesting add-ins that can help though. If you are using Visual Studio Team System take a look at TeamReview. It allows you to generate special Code Review work items that can be "played back" to someone later.
TeamReview screenshot http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=TeamReview&DownloadId=32263
Check out the suggestions from this question:
https://stackoverflow.com/questions/403/tool-to-aid-code-review
链接地址: http://www.djcxy.com/p/64838.html上一篇: CVS的“Live”更改日志记录
下一篇: 你如何做代码评论?