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


当前回答

return 1; # returns 1

其他回答

/**
 * If you don't understand this code, you should be flipping burgers instead.
 */
else
{
    //error situation
}
# Don use this. Never!
// Fuck.

,……

// This code worked before, but my cat decided to take a trip across my keyboard...

这比你在许多评论标题中看到的可怕的法律通知和免责声明要好得多。从SQLite。

/*
** The author disclaims copyright to this source code.  In place of
** a legal notice, here is a blessing:
**
**    May you do good and not evil.
**    May you find forgiveness for yourself and forgive others.
**    May you share freely, never taking more than you give.
*/