Re: any chance of 2.6.0-test*?

From: Oliver Neukum (oliver@neukum.name)
Date: Sun Jan 12 2003 - 18:16:20 EST


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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:42 EST