[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Code Format
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] Code Format |
Date: |
Thu, 4 Mar 2010 09:21:17 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.31-20-generic; KDE/4.3.5; i686; ; ) |
On Thursday 04 March 2010 03:17:00 Leo Wandersleb wrote:
> Hi all,
>
> while working with hudson [1] I once more got frustrated about ever
> differing code styles.
> Modern IDEs allow to auto-format on save. In Eclipse I basically don't care
> about spaces or anything when coding Java. When pressing "save" all
> formatting is done for me. Consistently for all my team members.
> It helps big deal on speed as formatting is not an issue any more.
> To get there it has been proven best to not discuss about every detail but
> to use some well established formatting as this should be easiest to get
> synced across IDEs. Are there any objections to formatting all the code
> according to either of the K&R or BSD (see below)? If no I would do so.
Originally, and there are some coding-style guidelines at [1], glob2 did
follow BSD/Allman, according to your example. Personnally, it is the one that
I prefer.
Have a nice day,
Steph
[1] http://globulation2.org/wiki/CodingConventions
--
http://stephane.magnenat.net