...minimum of coding standard:

- - do not use tabs, use only spaces (this guarantees that the code looks
the same everywhere and any formating won't break)

Not in a minimal coding standard should be:

- - use only 2 spaces per indent (that's what I prefer - but other choices
are also valid and coding is much more fun than arguing)
 
 
 
I learned those rather important details in my earlier days as a young C++ coder from the senior coders.
 
Also, using some fixed pitch fonts, like Courier helps to beautify the format even furthur (bolding it makes even better for my taste).
Isao

Christian Mayer <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mathias Frö hlich schrieb:
> On Wednesday 01 March 2006 13:41, Chris Metzler wrote:
>> Yes, this is definitely the way to solve this problem. After all,
>> nobody gets truly worked up about dumbass things like vim vs. emacs
>> or anything like that!
> Two ways from my point of view:
>
> Since I do not believe that this is a realistic approach in any sense, I will
> use the editor of my choice which I can use for all those projects I work on.
> And as long as that is the case, I think not using tabs is the way you can
> solve this issues in the real world.

Due to our big code base and this repeating discussion we probably
should define this minimum of coding standard:

- - do not use tabs, use only spaces (this guarantees that the code looks
the same everywhere and any formating won't break)
- - a tab must have a size of 8. (This shouldn't matter when everyone
sticks to the point above. But someti mes things go wrong. And 8
Spaces/Tab is the standard/default that every editor can handle - even
every email program)

Not in a minimal coding standard should be:

- - use only 2 spaces per indent (that's what I prefer - but other choices
are also valid and coding is much more fun than arguing)


I'd be happy if we can accept that and make it official - then we've got
one topic less that can keep us from coding :) Oh, the choice of the
editor also doesn't matter anymore then.

CU,
Christian


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFECA43lhWtxOxWNFcRAqqeAJ9fkk7uCJ4/9w6ut5BxOPc61JXzLQCfRBNR
LGWL6iD1H4gRdLqtBEcLqY8=
=K8tH
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and jo in the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to