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


当前回答

当我注释掉我认为不再有用的代码块,但我可能是错的(因此没有删除它们),我有时会在它们之前

// Wilted celery?

这个想法就像芹菜一样枯萎了,但你还是把它放回冰箱里。我只知道十年后会有人看到这些评论,说什么鬼?

其他回答

我经常发现这个

// fix it!

.class {border:1px solid gold;} /*我可怜这个傻瓜*/

[onload_1;block=begin;when 1=0]

Some of the techinques in this template are rather obscure, just trust me, they need to be there.
OTOH a better sollution would be to create a few seperate templates and pick one in the php-script...

[onload_1;block=end]
// TODO - Comment this function
// Catching exceptions is for communists

来自Mike Duncan在SQLite上的页面。