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


当前回答

/**---------START-----------**/

  //  IMPLEMENTATION GOES HERE

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

但没有代码;)

其他回答

#!/usr/bin/sh
#       Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
#         All Rights Reserved

#       THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#       The copyright notice above does not evidence any
#       actual or intended publication of such source code.

#ident  "@(#)false.sh   1.6     93/01/11 SMI"   /* SVr4.0 1.3   */
exit 255

从SunOS 5.9即Solaris 9获取(/usr/bin/false)

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

摘自UNIX版本6源代码,大约1975年:

/* You are not expected to understand this. */

我没有这个来源的副本,但我一直记得它:

//如果你想不明白,就不要读这篇文章

/**
 * Not even your mum thinks you're special if you call this method
 */    
onlyYourMumThinksYoureSpecialIfYouCallThisMethod() {...}