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


当前回答

/* Jeez, this is an ugly mess */

...comment from the X11R6 internals source code circa 1991.

其他回答

// Catching exceptions is for communists

来自Mike Duncan在SQLite上的页面。

/// <summary>
/// The possible outcomes of an update operation (save or delete)
/// </summary>
public enum UpdateResult
{

    /// <summary>
    /// Updated successfully
    /// </summary>
    Success = 0,

    /// <summary>
    /// Updated successfully
    /// </summary>
    Failed = 1
}
private int mousycounter = 0; //Not really a counter
Repeat
    ...
Until (JesusChristsReturn) ' Not sure
/* Please work */