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


当前回答

/*
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*/

其他回答

在makefile中找到这个

# ===== Never edit below this line. Ever. Or I'll kick your ass. ====

http://fxr.watson.org/fxr/source/pci/if_rl.c 是好的来源。

//        .==.        .==.          
//       //`^\\      //^`\\         
//      // ^ ^\(\__/)/^ ^^\\        
//     //^ ^^ ^/6  6\ ^^ ^ \\       
//    //^ ^^ ^/( .. )\^ ^ ^ \\      
//   // ^^ ^/\| v""v |/\^ ^ ^\\     
//  // ^^/\/ /  `~~`  \ \/\^ ^\\    
//  -----------------------------
/// HERE BE DRAGONS

我没有原始文件的权限,因为我已经不在那里工作了,但它和这张照片非常相似。它位于文件的顶部,总是会引起麻烦,我们必须修复,但不允许花时间真正修复。(大学政治)

// Replaces with spaces the braces in cases where braces in places cause stasis 
   $str = str_replace(array("\{","\}")," ",$str);

我刚刚在一些遗留代码中发现了这个..

'CANNOT JUST QUIT!