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


当前回答

def leppard
# what, i cant have my own convention?
end

其他回答

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

if (scroll and noScroll) # or tea and no tea
//ALL YOUR BASE ARE BELONG TO US

...这让我的老板以为有人黑进了系统。他不知道这个笑话。

在初始化链表时:

last = first; /* Biblical reference */

简洁而滑稽。

// 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.