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


当前回答

//I'm sorry, but our princess is in another castle.

其他回答

在makefile中找到这个

# ===== Never edit below this line. Ever. Or I'll kick your ass. ====
private int mousycounter = 0; //Not really a counter

大学时代:

//why the f*** we have to move this here to make it work

当我们和教授一起复习的时候,它在印刷资料中被突出了。

原因是:一些与缓冲区溢出相关的严重错误,影响了代码中其他位置的文件处理程序中不相关的变量。移动变量将使它再次工作。

#pragma region Crap that is kept for temporary reasons

    //  Huge chunk of commented code

#pragma endregion

我最喜欢的评论是我的一个同性恋朋友说的。他喜欢用VB标记他所有的TODO注释。净,

'TODO: Matt Damon

有时会提供额外的信息,但通常不是这样。