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


当前回答

// Bad Christian, No cookie

这里的Cookie不是指浏览器Cookie

其他回答

/* logic */
#ifndef TRUE
# define TRUE 1
#endif /* TRUE */
#ifndef FALSE
# define FALSE 0
#endif /* FALSE */
#define EOF_OK TRUE
#define EOF_NOT_OK FALSE

以及在IOCCC页面上的mkentry.c的其余部分。每次读这篇文章的时候,我都笑不出来。

// Catching exceptions is for communists

来自Mike Duncan在SQLite上的页面。

-- Comment this later

这是一个4000多行的PL/SQL过程的第2行。唯一的评论。手术已经进行了4年了,后来还是没来…

If you have reached this part in the code, then this program sucks.
/* This is O(scary), but seems quick enough in practice. */ 

后面是四个嵌套的for循环