你遇到过的源代码中最好的注释是什么?


当前回答

我在查看TVNZ网站早期迭代的HTML源代码时发现了这个宝藏(如果你在家玩的话,从571行开始):

<!-- Hopfully we can do this otherwise the nav is going to be pretty plain and Hong will go postal. -->

其他回答

// insert comment here
REM Don't delete this print statement ****** will die

所讨论的流程是一些遗留代码中的服务

/* My lawyer told me not to reveal */
Case 1:
   ...
   break;
   ...
//I don't want do do this but [my coworker] says it's part of the code standard
default:
   break;
// Caveat implementor