[ODE] Code quality

Vrej Melkonian vmelkon at yahoo.com
Mon Feb 5 16:51:53 MST 2007


Ya, good luck with that. Everyone has some style that
they prefer.
For me, the current ODE style does everything wrong.

I prefer real tabs, curly brackets on the correct
line,  parenthesis in boolean expressions, no spaces
all over the place (ex : function  (  cvcvv,  ascsf  )
  ;)

--- Dave Grundgeiger
<dave.grundgeiger at codenouveau.com> wrote:

> Remi Ricard wrote:
> > So maybe we can define an style and stick to it
> and people submitting
> > patch must follow it or the one patching the code
> make sure the
> > indentation is respected.
> 
> For code formatting, how about running the code
> through a formatter before 
> checking it in? Artistic Style
> (http://astyle.sourceforge.net/) is free, 
> supports several standard formats, and is
> customizable.
> 
> For larger C++ design issues, how about adopting the
> book "C++ Coding 
> Standards" by Herb Sutter and Andrei Alexandrescu
> (part of "Bjarne 
> Stroustrup's C++ In Depth" series) as ODE's official
> guide? 
>
(http://www.aw-bc.com/catalog/academic/product/0,1144,0321113586,00.html)
> 
> Dave 
> 
> _______________________________________________
> ODE mailing list
> ODE at ode.org
> http://mooshika.org/mailman/listinfo/ode
> 



 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


More information about the ODE mailing list