Herbert Voss wrote:
> 
> Angus Leeming wrote:
> 
> > On Thursday 04 April 2002 1:24 pm, Herbert Voss wrote:
> >

> >>         if (!isValidLength(a) || !isValidLength(b) ||
> >>             !isValidLength(c) || !isValidLength(d))
> 
> this looks better to me
> 
>           if !(isValidLength(a) && isValidLength(b) &&
>                isValidLength(c) && isValidLength(d))
> 
looks better, but couldn't the other version bail out on the first true
!isValidLength, and the second require evaluating all?
Garst

Reply via email to