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


当前回答

catch (Domain.ConcurrencyException)
{
    // somebody changed it between the time we loaded it and now.
    // weird, huh?
}

其他回答

# 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
// I have to find a better job
//Abandon all hope ye who enter beyond this point

来自Java 1.2的SwingUtilities:

doRun.run();  // ... "a doo run run".

从一个遗留的Perl CGI脚本:

# This is convoluted and evil, sorry.