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


当前回答

-- Change Log:  Not needed. The code is perfect 'cause I wrote it.
-- If you change it, it will break.

我正在检查一些代码注释,以检查它们是否有意义,并看到上面的一行。

其他回答

来自嵌入式系统中的电池监测模块:

// batmon.c drives the rastamobile
#ifdef TRACE
#undef TRACE     /* All your trace are belong to us. */
#endif
#define TRACE ....
// Hack-er-ama
catch (Exception ex)
{ 
    // just die already.
}
// Empty constructor to satisfy the stupid compiler
 Public ServletHandlerClass () { }