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


当前回答

int Q13Factor = 8125; // 2^13 for Q13 

其他回答

// If you're reading this, that means you have been put in charge of my previous project.
// I am so, so sorry for you. God speed.

回到《Hitchhiker’s Guide》刚问世的时候,我曾经测试过某些内容是否可滚动,以及用户是否尝试着滚动,这是一种限制可变长度的语言。所以:

if (scroll and noScroll) # or tea and no tea
<!-- Here it is -->

没有其他评论了。直到今天我都不知道“它”是什么。

我最喜欢的(我必须承认我用过很多次):

// Yes...I know this is repulsive and stupid.
// But <%CompanyOwnerOrManagerToken%>, not knowing a thing about code,
// demanded I do it anyways. SO, go crap on their desk, not mine.
// K THX BYE 
/**---------START-----------**/

  //  IMPLEMENTATION GOES HERE

/**---------END-----------**/

但没有代码;)