lkml.org 
[lkml]   [2001]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Coding style - a non-issue
    On Fri, Nov 30, 2001 at 02:00:18PM -0500, Jeff Garzik wrote:

    > Human beings know and understand context, and can use it
    > effectively. 'idx' or 'i' or 'bh' may make perfect sense in
    > context. There is absolutely no need for
    > JournalBHThatIsStoredAndSyncedWithSuperblock.

    Mathematics has a rich tradition of using short variable names such as
    "pi" rather than something like "circle-circumference-to-diameter-ratio".
    They keep formulas from becoming unreadably long, and have a meaning
    which is well understood in context. While the long version may more
    self-explainatory, it's the short form which is universally preferred.

    -- John Kodis.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:13    [W:0.042 / U:0.204 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site