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


当前回答

Catch (Exception e) {
 //who cares?
} 

其他回答

/*
after hours of consulting the tome of google
i have discovered that by the will of unknown forces
without the below line, IE7 believes that 6px = 12px
*/
font-size: 0px;

简单但有效的注释,在一些不太安全的c++代码之前

// yikes
try {
  dataSource.close();
}
catch (SQLException ex) {
  // Do nothing, since we're going to trash this anyway
}

当然,这类事情实际上是JDBC(或者至少是Oracle的JDBC驱动程序)中的wtf,因为它可以在关闭连接时抛出SQLExceptions…

//FIXME: fix this before the 1.0 release

他们在第4版