[ODE] Code quality

Remi Ricard remi.ricard at simlog.com
Tue Feb 6 10:05:23 MST 2007


Hi Dave,

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

Should we set a pool so people can vote for a style ?

Remi


More information about the ODE mailing list