[ODE] Code quality

Dave Grundgeiger dave.grundgeiger at codenouveau.com
Tue Feb 6 09:36:52 MST 2007


Hi Remi.

>> 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.

> Dave Grundgeiger wrote:
>> 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.

Remi Ricard wrote:
> But before doing that we need a standard.

All it takes is for the admins to say, "Please use ANSI style" (or K&R or 
whatever). There's no benefit in spending more than three seconds choosing 
which style to use, but there is benefit in applying a style consistently.

Dave 



More information about the ODE mailing list