On Friday 13 May 2005 11:16 am, Bill Kendrick wrote:
> Heh. Yeah, yuck. I'll do this for one-liners, sometimes, though:
>
> if (foo) { do_something(); }
Actually in PHP, C and Java you can omit the braces for a
single statement:
if (foo) do_something();
Or in Perl:
do_something() if (foo);
-- Rod