在我們的代碼,我們目前使用的是又可以在Visual Studio中的任務列表中列出了以下標籤:什麼標記你的任務列表使用(如Visual Studio 2008中)
TODO標記裏面的代碼任務需要做
// TODO: optimize this loop
HACK標記代碼,只有在那裏做什麼工作的時刻,例如用於演示
// HACK: assume we know the users password to skip the need for a popup here
導讀標記的部分的代碼進行了審查,並需要一些編輯
// REVIEW: the following method is redundant, use ABC.DEF() instead
固定標記評測codesegments已修復,從而使評審可以看出,已經發生了相應的改變。
// REVIEW: the following method is redundant, use ABC.DEF() instead
// FIXED: removed the method and updated the calls
您在日常工作中還使用了哪些其他標籤?你認爲使用標籤(和任務列表)對於小團隊(最多10人)是否足夠有效?你用什麼其他方法直接評論代碼的一部分?