From: William Djaja Tjokroaminata Date: 2002-09-13T03:20:38+09:00 Subject: Re: if and unless I also agree. I use "unless" simply to avoid ! or not. Regarding the 99% rule, I do not pay that much attention. The situation is different in a multi if-elsif statements, where I usually put the more likely cases towards the beginning. Regards, Bill ============================================================================= Stefan Schmiedl wrote: > On Thu, 12 Sep 2002 03:39:15 GMT, > Jim Freeze wrote: >> Hmm. I would have chosen the latter for this case. >> It seems more natural. >> I find my self using unless when I want to avoid >> an explicit ! or not in the boolean test. >> > I agree with Jim. > In my code the available predicate dictates > the use of if and unless. > Less code is better: Maximize LOCNW! > s.