Re: Code style



On Tue, 2003-09-16 at 18:34, Curtis C. Hovey wrote:
> On Tue, 2003-09-16 at 14:17, Marco Pesenti Gritti wrote:
> > I know this isnt exactly a very important/urgent issue but I'd like we
> > could choose a code style for storage.
> > Right now it's a mix of different styles. A coherent code style make
> > sources more readable for me ...
> > I dont think we should fix all our code to follow the style now, just
> > write new code using it and fixup pieces of the old gradually. (for
> > example when making changes in a func ...).
> > 
> > So I propose we just use nautilus guidelines, as they are quite sane and
> > much of current code seem to be mostly following them.
> > http://cvs.gnome.org/lxr/source/nautilus/docs/style-guide.html
> > 
> > If you agree I can add a note about it in the HACKING file.
> > Let me know.
> 
> I agree with following the Nautilus standard...but that document is not
> the working Nautilus style guide.  I know this because it does not
> include the revision to the local variable declaration rule.
> 
> http://mail.gnome.org/archives/nautilus-list/2003-May/msg00001.html

Are you sure that change has ever been decided ? Jeff in that thread
points out that it would not work on gcc < 3.
The document I linked is in nautilus cvs head, not sure where to search
for a more updated one.

Marco




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]