[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Aug 12 21:11:01 CEST 2004

On Thursday 12 August 2004 15:11, Barth Netterfield wrote:
> Whether one should return other than the end seems context dependent.
> Clearly exiting deep in the middle of a nested structure in the middle of a
> subroutine can be very easy to miss.
> On the other hand, putting validity tests right at the beginning of a
> function can really clean up the code.
> So....  probably not going to find a hard and fast rule....

  Exactly.  It all depends on the context.

George Staikos
KDE Developer			http://www.kde.org/
Staikos Computing Services Inc.	http://www.staikos.net/

More information about the Kst mailing list