On Wed, Dec 31, 2003 at 03:34:09PM -0600, bradyh at bitstream.net wrote:
> We're having a code formatting war in the office today and so far I'm on the
> losing side but I thought I'd get your vote:
> 
> Is it:
> 
> A)  if (x == 1) {...
> 
> or
> 
> B) if( x == 1 ){...
> 
> C) other
> 

I'd go with A.  But for large code blocks I prefer:

  if (x == 1)
  {
     ...
  }

With 4-space indents, too.

year++,
JT

-- 
trammell at el-swifto.com  9EC7 BC6D E688 A184 9F58  FD4C 2C12 CC14 8ABA 36F5
Twin Cities Linux Users Group (TCLUG)      Minneapolis/St. Paul, Minnesota

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list