From: furufuru@... (Ryo Furue) Date: 2001-12-20T07:28:27+09:00 Subject: [ruby-talk:29025] Re: What's the Ruby way of doing: "Nightblade" wrote in message news:<3c20413e$0$23428$afc38c87@news.optusnet.com.au>... [...] > > print "extra info here" unless $quiet > > However IMHO that is harder to read, sort of around the wrong way, a > backward sentence. I guess I like the "short circuit" to be obvious, at the > left (start) of the line, since I read left-to-right :-) What about this then? # somewhere ... $quiet = false # .... # ... later !$quiet and print "extra info here" I think the logic is the same as the "unless $quiet" version. The following may be more natural than the above: $quiet or print "extra info here" Regards, Ryo