lkml.org 
[lkml]   [2003]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: any chance of 2.6.0-test*?
    Date
    Am Sonntag, 12. Januar 2003 23:51 schrieb Rob Wilkens:
    > On Sun, 2003-01-12 at 17:43, Oliver Neukum wrote:
    > > It's code that causes added hardship for anybody checking the locking.
    >
    > I can certainly see where it would seem "easier" to match "one lock" to
    > "one unlock" if your troubleshooting a locking issue.
    >
    > "easier" is the motivation behind using goto.. Laziness.. that's all it
    > is.

    Yes, exactly. Lazyness is good. Any second spend on hitting Ctrl+F
    and typing in the name of a cleanup function is lost. Any time
    you overlook something because the cleanup and the code are
    not on the same screen is a bug that is overlooked.
    Any time one of the cleanup functions is overlooked can cause
    hours lost in debugging after a change.

    Oliver

    -
    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:32    [W:0.028 / U:29.736 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site