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


当前回答

/**
 * If you don't understand this code, you should be flipping burgers instead.
 */

其他回答

//我穿上长袍,戴上巫师帽……

我没有亲身经历过这种情况,但这是一个很好的故事(详见我的评论中的解释):

#define MSGTAG_B33R     0x723 /* RIPLVB */

我在一家大型投资银行看到,该银行要求记录和评论所有应用程序中断

Without a crash 

Or mighty bang 

The sync disk 

Did it's process hang

sqlite源文件顶部:

/*

** The author disclaims copyright to this source code.  In place of             
** a legal notice, here is a blessing:                                          
**                                                                              
**    May you do good and not evil.                                             
**    May you find forgiveness for yourself and forgive others.                 
**    May you share freely, never taking more than you give.

*/

从谷歌代码项目:

# This job would be great if it wasn't for the fucking customers.