From: coderrr Date: 2008-05-03T02:34:18+09:00 Subject: Re: Ruby 1.9 wishlist ------=_Part_6217_10703405.1209749657819 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > IMHO a C-style single-line if statement is more trouble than it's worth. > It makes me cringe every time I see such a thing in C/C++/Java code (I > always put braces around my code blocks, just like Perl requires). I don't care to use the single line if as we already have that (just in reverse order). I want a double line if, which has never made me cringe, although of course this is subjective. > Besides, who needs a C-style if when we have shell-style boolean > expressions? > > # example 1 > true and > p :true > > p :im_outside_of_if > Awesome, I've learned something new. I never though about a newline after an &&. I'll give this a try and see how it feels. Although from the looks of it, a two-line if would read better. ------=_Part_6217_10703405.1209749657819--