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


当前回答

REM Don't delete this print statement ****** will die

所讨论的流程是一些遗留代码中的服务

其他回答

我最喜欢的(我必须承认我用过很多次):

// Yes...I know this is repulsive and stupid.
// But <%CompanyOwnerOrManagerToken%>, not knowing a thing about code,
// demanded I do it anyways. SO, go crap on their desk, not mine.
// K THX BYE 

不是注释,而是属性

[ThereBeDragons]

还有一个是我在IHttpHandler的实现中看到的

//What is this?
public bool IsReusable
{
    get{return false;}
}

几年前我在。h文件里看到的。

// It may be a hack, but it works.
// human madable inconvenient. Way too sucks.

我仍然没有完全理解它的含义,但我发现它对于许多代码来说是非常正确的。

// This code was written by a genius so don't try to understand it with
// your tiny little brain.