[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-dev] Re: indentation
From: |
Mathieu Roy |
Subject: |
[Savannah-dev] Re: indentation |
Date: |
04 Sep 2003 08:25:36 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Vincent Caron <address@hidden> a tapoté :
> Mathieu Roy wrote:
> > if (1 != 1) {
> > print "blo";
> > }
>
> GNU style advocates this indentation for functions body
> (http://www.gnu.org/prep/standards_23.html#SEC23) :
>
> if (1 = 1)
> {
> print "blo";
> }
>
> However I rarely encounter that form in recent code, your convention
> looks all right to me. Anyway it's a convention, it's only good when
> we stick to it :)
Indeed. What brings me to this point is the fact that currently the
code follows several convention, despite the fact that we, me and
Stéphane, tried to make it following only one convention.
Given the amount of code we have, I'll try to get something
automated.
--
Mathieu Roy
Homepage:
http://yeupou.coleumes.org
Not a native english speaker:
http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english