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


当前回答

// Oh crap, i think i'm gonna yack

随后不久又有:

// TODO: end this lunacy

其他回答

在JUnit API中找到:

/**
 * ...as the moon sets over the early morning Merlin, Oregon
 * mountains, our intrepid adventurers type...
 */
public Test createTest(Class theClass, String name) {
    ...
}
// insert comment here
virgin = 0;     /* you're not a virgin anymore, sweety */
// BEGIN HACK
...
// END HACK: I feel dirty.
/*
 * You may think you know what the following code does.
 * But you dont. Trust me.
 * Fiddle with it, and youll spend many a sleepless
 * night cursing the moment you thought youd be clever
 * enough to "optimize" the code below.
 * Now close this file and go play with something else.
 */