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


当前回答

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

// 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 

其他回答

发现了一个复杂的代码-

//耶稣和这段代码有一个共同点:都是复活的

简单但有效的注释,在一些不太安全的c++代码之前

// yikes

不是一个评论,而是一个goto标签

ICantBelieveImUsingAGoto:

我刚刚注意到自己在写这个

// not brilliant solution, but fair enough heh.
// I dedicate all this code, all my work, to my wife, Darlene, who will 
// have to support me and our three children and the dog once it gets 
// released into the public.