[compiz] Coding standard

troy d. straszheim troy at resophonic.com
Tue Feb 3 08:09:02 PST 2009


Kristian Lyngstol wrote:
> 
> That's it so far. I really hope someone can rip this apart, since I ended
> up trashing my more detailed ideas and threw this together in a hurry. At
> least it should get the discussion started.
> 
> Specially since this is written with C, and not C++ in mind.
> 

Hi,

I joined the list because I saw that there's a compiz+boost+cmake 
project in the works  (very cool).  I'm a boost committer and I'm good 
with cmake.

IMHO this is by far the best Coding Standard for C++:

   http://www.gotw.ca/publications/c++cs.htm

A great, great book.  Sutter and Alexandrescu have already done all the 
hard work.  Each of the hundred items in the book is about 2 pages long,
which is great for code reviews: you can just tag suspect code with 
comments that mention C++CS numbers, which makes things very efficient, 
and very educational for the reviewee if they are intermediate-level C++ 
coder.  Can't say enough good things.

-t



More information about the compiz mailing list