你遇到过的源代码中最好的注释是什么?
当前回答
//我知道这很让人困惑,所以让我解释给你听。
其他回答
/* Emits a 7-Hz tone for 10 seconds.
True story: 7 Hz is the resonant frequency of a
chicken's skull cavity. This was determined
empirically in Australia, where a new factory
generating 7-Hz tones was located too close to a
chicken ranch: When the factory started up, all the
chickens died.
Your PC may not be able to emit a 7-Hz tone. */
main()
{
sound(7);
delay(10000);
nosound();
}
(Turbo C 2.0版本参考指南中的声音功能)
//Dave chapelle reports errors.
function reporterror() {
davechapelle.trace("FUCK!");
}
(A bunch of code that's really weird looking) //Kludge.
// this is really complicated
没有其他评论了
If you have reached this part in the code, then this program sucks.