你遇到过的源代码中最好的注释是什么?
当前回答
我相信在JBoss的某个地方有一行写着
return null; //Not really null
我一直很喜欢这句话。
其他回答
//If the Current Record is Getting End Dated, We should not create New History Entry.
//We Just need to Update the Previous History Entry
//If the History is already End Dated and the New Record is now removing End Date, Then
//We should not update the Previous History End Date.
//We Just need to Create the New History Record Only.
//Alright..
//Alright....
//Enough Comments. Code it. :-)
在某些汇编程序中,在包含&h723的行末尾
' RIP LVB
(明白吗?)
今天刚加了这个:
// Hardcoded this for time sake ... will make andrew fix later :)
//休斯顿,我们有麻烦了
大约1997年,Netscape网络浏览器的UNIX风格的源代码:
/* HP-UX sucks wet farts from dead pigeons' asses */
不幸的是,在Moz开源之前,这些珍珠被移除了……