incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-dev] C code formatter
Date Sun, 10 Apr 2011 01:27:05 GMT
Nathan Kurz wrote on 4/9/11 12:38 AM:

> 
> But I believe fairly strongly that one should avoid:
> 
>   if (foo)
>      do_it();
> 

+1 to avoiding that.


> 
> I appreciate the compactness of the "--brackets=attach" style, which
> avoids the mostly blank line below each function definition and puts
> the opening bracket on the same line.  Is "--brackets=linux" something
> you feel strongly about?  I'm not against it if you think it helps
> with reading or text processing, but it seemed worth discussing.
> 

+1 to --brackets=attach with no cuddled elses.

but +10 to not having to think about it at all.

-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message