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


当前回答

// This code was written by a genius so don't try to understand it with
// your tiny little brain.

其他回答

一些来自Linux内核的代码:

/* Sun, you just can't beat me, you just can't.  Stop trying,
* give up.  I'm serious, I am going to kick the living shit
* out of you, game over, lights out.
*/

-

/* 2,191 lines of complete and utter shit coming up... */

-

#if 0 /* XXX No fucking way dude... */
long john; // silver

“这永远不会发生”。

朋友,这是我的临终遗言……

摘自UNIX版本6源代码,大约1975年:

/* You are not expected to understand this. */
# dont question, i just felt like throwing some globals in
# this is actually quite pointless as youll soon see

稍后在代码中

#draw the circles (complicated)...dont question

更晚…

# complicated process of drawing the circles in a
# somewhat symmetrical, 3-d pattern
# dont question again

甚至以后……

# will determine if user clicks on die
# i determined these values...dont worry about them