qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: C/C++ style guides
Date Wed, 25 Oct 2006 16:07:41 GMT
My hope is we can find a good-comprehensive C++ style guide and just
adopt it wholesale, without doing any style-guide writing of our own.
Thanks for the pointers Kim, I'll take a look.

Does anyone on the qpid-dev list have opinions on C++ style guides that
are worth considering? 


On Wed, 2006-10-25 at 08:06 -0400, Kim van der Riet wrote:
> Some thoughts on C++ coding style...
> 
> This site has links to several notable C/C++ style guides...
> 
> http://www.chris-lott.org/resources/cstyle/
> 
> As Alan points out, there is no single style guide to point to, but
> here are two major guides which could be used as starting points:
> 
> This one is very readable, and may make a good starting point for our
> own: http://geosoft.no/development/cppstyle.html I like the idea in
> points 1. and 2. that this is a guideline, not a rule. Readability and
> maintainability trump the rote application of any rule.
> 
> C++ Coding Standard, Todd Hoff:
> http://www.possibility.com/Cpp/CppCodingStandard.html - this one seems
> to be a major reference.
> 
> Perhaps the way to go is to choose the top 10 coding style issues that
> would enhance readability/maintainability and keep the codebase from
> several contributors looking reasonably similar. We can then add to
> the list as issues arise. That way, we don't need to "boil the ocean"
> with a comprehensive list - something none of us has the time to do.
> 
> Kim


Mime
View raw message