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


当前回答

从一个遗留的Perl CGI脚本:

# This is convoluted and evil, sorry.

其他回答

DataRow[] foundrows = FilterCalendarEntriesBecauseDotNETIsFuckedUp(tbtemp,CalDate);

不是注释,而是一个有趣的函数名

//说明:!!待办事项

Dennis M Ritchie在这里有一个关于一些古老UNIX注释的页面

在大学的一次家庭作业中,一位老师特别坚决地要求我们注释代码:

//I wonder if she actually reads these.

当作业被返回时,在注释“是的,我愿意”旁边用红笔写着

 // WARNING!!!
 // Very perversive code ahead!

... about a 20 lines of "very perversive" code ...

// Now you can call your grandmother back. ;)