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


当前回答

// TODO: Implement this function!

其他回答

//Dear future me. Please forgive me. 
//I can't even begin to express how sorry I am.  

我今天刚发现了这个:

//private instance variable for storing age
public static int age;
// If you're reading this, that means you have been put in charge of my previous project.
// I am so, so sorry for you. God speed.

//你不需要理解这个

经典。

/* Halley's comment */

一些来自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... */