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


当前回答

“这永远不会发生”。

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

其他回答

//This code sucks, you know it and I know it.  
//Move on and call me an idiot later.
/**
 * Happy Javadoc haiku:
 *
 * Without Javadoc
 * Builds break in Maven site stage
 * This fixes the build.
 */
// TODO - Comment this function

以下是4个,排名不分先后:

// Father, forgive me, for I am sinning

// heaven help me

// horse string-length into correctitude 
(from a textbook)

// what, me worry?

在一组相当长且复杂的while循环和if块的末尾,开发人员插入了最后的注释:

else
{
    // wobbly wilson said this would *never* happen!!
}

机智和讽刺的简洁混合:)