Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Please vote!
Home

[Freeciv-Dev] Re: Please vote!

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Please vote!
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 30 Nov 2001 00:05:11 +0100

On Thu, Nov 29, 2001 at 02:47:25PM +0100, Petr Baudis wrote:
> > No preference - I use both.  I also use
> > 
> >    /* B */
> >    int foo3b(int x)
> >    {
> >      x = 3;
> >        /* assign 3 to x */
> >    }
> Strongly against that! It's confusing, Syela used that and I move it everytime
> I found it. Especially when you will mix it, you dunno when the comment is
> referring to previous or following line.

Well, I do, but there is no need to use it.

> > More cases:
> They looks useless for me, at least I thought everyone (except Syela) would do
> A ;-)... For the second one, I prefer D.
> 
> > There is probably more (whitespace after commas in function calls?).
> That is clear also IMHO :-). But I'm strange maybe.
> 
> I propose that we should automatically inherite all GNU coding standarts. They
> are really de-facto standart and we should abide at least basic rules from 
> them
> - i.e. spaces after commas and around operators.

Fine, is there an indent option, or any other software, to convert code
to them as far as possible?

> -- 
> 
>                               Petr "Pasky" Baudis

-- 
Reinier


[Prev in Thread] Current Thread [Next in Thread]