On Fri, Oct 03, 2003 at 12:07:23AM -0400, Cliff Woolley wrote:
>...
> I am NOT saying opening braces can or should be on their own line for
> regular code.  ONLY when they follow a conditional expression that spans
> lines.

I'd prefer they get their own line all the time :-), so I'll certainly
agree with the sentiment of requiring them after a multi-line conditional.

The rationale for the style guide here is simply that the extra whitespace
"terminates" the multi-line conditional for the reader.

[ my personal opinion is that the whitespace is always needed so the
  reader doesn't mistake the code for a multi-line conditional ]

Note: I'm not desiring to raise a debate or change the style. Merely
supporting the notion that a line of almost-whitespace should occur after
the multi-line conditional.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to