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


当前回答

其他回答

所有bug由David S. Miller添加

一个可怕的解码补丁(意大利语翻译):

/**
*@return the value 
*@param key: the id of the list of instruments
*@PS this function is a violation of all the laws of the 
*software engineering, 
*commons sense, highway code 
*and ONU decision about the coding.
That sh*t...
*/

消毒:

//Forward declarations:

class X {}; // TODO: Remove {}  ! When we get X defined....
def leppard
# what, i cant have my own convention?
end

大约1997年,Netscape网络浏览器的UNIX风格的源代码:

/* HP-UX sucks wet farts from dead pigeons' asses */

不幸的是,在Moz开源之前,这些珍珠被移除了……