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


当前回答

// need a coffee to fix this.

其他回答

我经常看到这种情况:

// TODO make this work
// Hard to explain

它最后也坏了。难怪很难解释清楚

//I am not sure why this works but it fixes the problem. 

这是之前的一组代码,技术上确实解决了问题,它的意思是,但打破了其他3个东西....

在给一个朋友看了这篇来自《Coding Horror》的文章几个小时后,我看到了他对代码的评论:

// valdez先生是一个暴力的精神病患者。别惹他生气。