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


当前回答

// need a coffee to fix this.

其他回答

我发现了这个:

I'm not sure what I did
try {

} finally { // should never happen 

}
int MyFunction()
{
    // There once was a man named Dave
    int Result = 0;

    // Whose code just wouldn't behave
    MyObject *Ptr = new MyObject();

    // He left to go to a meetin'
    Result = Ptr->DoSomething();

    // And left his memory a leakin'
    return Result;
}

c++怎么样

#define SHIT_HAPPENED (BASE + 1)   /* generic shit happened */

用于政府目的的企业等级系统中的评论

'RH 5/24/06 burn me if this dosn't work.. :)

好RH.....公司总裁/首席开发人员