你遇到过的源代码中最好的注释是什么?
当前回答
//open lid
//take sh!t
//close lid
文件打开,数据转储,文件关闭…
其他回答
伟大的一个泄露的Windows 2000源代码:
! !如果你把制表符换成空格,你会被杀死!!!!!!!* !!!!!!!!!!!!!!这样做会破坏构建 过程 !!!!!!!!!!!!!!!!* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
http://www.kuro5hin.org/story/2004/2/15/71552/7795
long long ago; /* in a galaxy far far away */
消毒:
//Forward declarations:
class X {}; // TODO: Remove {} ! When we get X defined....
今天刚加了这个:
// Hardcoded this for time sake ... will make andrew fix later :)
这是在PHP代码中找到的
$s=2; // chicken and bacon wrap for lunch
多么有用,幸运的是$s是不言自明的