Mozy Contest Answers

Daniel C. dcrookston at gmail.com
Sat Nov 4 20:44:28 MST 2006


On 11/4/06, Roberto Mello <rmello at fslc.usu.edu> wrote:
> Braces on the same line as opposed to a line by itself is personal
> preference. But   if (foo) { do something }   is butt ugly and makes it
> harder to read, and should be avoided IMNSHO.
>
> -Roberto

I think that

if (foo) { do something }

looks quite nice.  For multi-line statements though,

if (foo) {
    do_this;
    do_that;
}

is the only way to do things.



More information about the PLUG mailing list