开发者

Code Review "ToDo" Follow Up Items

I am trying to institute code reviews at my company, and recently we had our first code review meetin开发者_如何学Cg. During the meeting, several positive suggestions were made and I added TODO comments in my code for following up.

After reading suggestions on here on best practices for code reviews, I would like to follow up on all the items I corrected at the start of the next meeting. Is there a way to add a similar type of comment to the code such as FOLLOWUP so that I can quickly highlight through those code segments in the next meeting?


You can create your own comment tokens. This can be found under

Tools > Options >Environment > Task List > Comment tokens

The following link provides more info. They are geared towards Visual Studio 2005, but the same info works for Visual Studio 2010

http://msdn.microsoft.com/en-us/library/ekwz6akh%28v=VS.80%29.aspx

http://msdn.microsoft.com/en-us/library/zce12xx2%28VS.80%29.aspx


You shouldn't be walking though the code in the actual meeting. Each participant should have already looked at and reviewed the code prior to the meeting. Thus, diff tools are all that are needed. No need for comments in the code - only commit comments are necessary.

If you are first seeing code in a review meeting then you are doing it wrong and wasting time.

EDIT:

I'd recommend this book


You can add your own tokens (such as "FOLLOWUP") to the token list: Menu Tools - Options, option Environment / Task List.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜