From: Logan Capaldo Date: 2004-11-12T05:01:49+09:00 Subject: Re: true? & false? Well that was just one example, of course I know about unless. I'm not trying to get into a philosphically argument about unless vs. not v.s false? The problem I have with unless is its starts looking weird if its a multiway branch ie if a elsif b elsif c else etc. On Fri, 12 Nov 2004 04:56:17 +0900, Austin Ziegler wrote: > On Fri, 12 Nov 2004 04:47:27 +0900, Logan Capaldo > > > wrote: > > Well I have written true? and false? methods in the past. Forgetting > > the best implementation at the moment I use it because I find things > > like: > > > > if a.nil?.false? > > .... > > end > > > > more readable than > > > > if not a.nil? > > .... > > end > > unless a.nil? > .... > end > > > > -austin > -- > Austin Ziegler * halostatue@gmail.com > * Alternate: austin@halostatue.ca > >