Complete.Org: Mailing Lists: Archives: freeciv-dev: June 1999:
Re: [Freeciv-Dev] cranky mode mail
Home

Re: [Freeciv-Dev] cranky mode mail

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: Freeciv List <freeciv-dev@xxxxxxxxxxx>
Subject: Re: [Freeciv-Dev] cranky mode mail
From: Daniel Sjolie <deepone@xxxxxxxxxx>
Date: Wed, 2 Jun 1999 07:50:44 +0200

On 1999-06-02 11:24:06, David Pfitzner wrote:
> (Except the if(0) stuff for debug messages I would defend: it 
> makes it easy to toggle individual messages on/off in the code, 
> and the if()'s should optimise away when compiled.  But in any
> case there is a patch which will make this unnecessary.)

Aha!
It's to toggle _individual_ massages... :)
If You have that many messages that You can't group them into groups
that You can switch on of with descriptive macros You have too many... :)
(for ex if (DBGMSG_MAIN) yadda_yadda();   )

> > Linux kernel coding style:
> 
> > 'Chapter 1: Indentation
> 
> What _I_ would prefer is for people to use the "freeciv style"
> of indentation, even if they don't personally prefer it (even
> though _I_ don't personally prefer it) (and even if it 
> does not match the "linux kernel coding style" ;-)

Well, that would be all ok if I wasn't so certain I was rigt! :)
Hehehe...

> Otherwise we get an ugly mix of all sorts of different indentation
> styles spread through the code.
> 
> (People have suggested doing a big re-indent of the whole code 
> sometime, but I don't really think thats necessary.  It would make
> it harder to use old diffs, and harder to use CVS to compare vs 
> older versions.  But maybe.)

I'm for it! :)

/Daniel

-- 
Now take a deep breath, smile and don't take life so seriously... :)

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