最强大的代码注释
在多人 project 里, 代码注释是必不可少的东西, 通常注释都是解释此段程序的用途, 但下面这段注释却让人啼笑皆非:
//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 32
//
更多例子请见此帖.
(original post via walking randomly)
Categories: Brainstorm, Informatics, Trivia
的确很强大!
呵呵,有意思的程序员们~