Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: K&R style (was Re: [PATCH] slight optimisation ...)
Home

[Freeciv-Dev] Re: K&R style (was Re: [PATCH] slight optimisation ...)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Kevin Brown <kevin@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: K&R style (was Re: [PATCH] slight optimisation ...)
From: Trent Piepho <xyzzy@xxxxxxxxxxxxx>
Date: Fri, 17 Aug 2001 12:13:36 -0700 (PDT)

On Fri, 17 Aug 2001, Kevin Brown wrote:
> except for deciding which arguments to pass to indent.  Seems to me
> that we should decide on one and then run the entire source tree
> through indent with the appropriate arguments.  Afterwards, it doesn't

That's really not a good idea.  It completly messes up the CVS history, as you
would no longer be able to tell when a line of code was written.  You also get
this huge commit in CVS that's twice as big as the entire source code.  indent
is also not perfect, sometimes programmers have carefully spaced tables or
comments so that they line up and then indent messes that up.



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