From: Austin Ziegler Date: 2004-11-01T23:15:31+09:00 Subject: Re: New Ruby conditional semantics thoughts I'm really not trying to be obtuse here, but I still don't get why this is useful -- especially so useful that it would need to become part of the Ruby core language. For DSLs, this sort of behaviour can become part of the standard 'require' for that language (e.g., require 'truthDSL'). I honestly do not see the value of doing. foo.ifTrue { bar; baz } as opposed to doing: if foo bar baz end IME, the only time that the "if foo" construct tends to give people problems is when they come from C-like languages where 0 is false (e.g., foo = 0; if foo ...). -austin