[vox-tech] emacs formatting

Rod Roark rod at sunsetsystems.com
Fri May 13 11:55:08 PDT 2005


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


More information about the vox-tech mailing list