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


当前回答

其他回答

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

// Father, forgive me, for I am sinning

// heaven help me

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

// what, me worry?

在游戏中,这个物体可以被踩到,或者:

stepOff(); //bitch
Fix problem where Nulls don't work properly.  Stupid Microsoft!

代码以迂回的方式一行一行地将null转换为零长度的字符串,因为愚蠢的程序员不理解null是什么,也从未听说过Nz()函数。

在中间几千行JScript文件后完全任意行…

// The world is a happy place.

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

// It may be a hack, but it works.