I suggest that we stick to a common convention, and furthermore propose to use 
the convention already followed by the codebase:

1. Indentation is four spaces. No tabs (they can cause confusion due to people 
having different editing settings).
2. Open brace follows if, while, do, structs, and enums on the same line. Open 
brace starts on a new line for functions.
3. Unix line endings for all files (to avoid complications with diffs)

I would prefer consistency - whatever style it is we agree on.

—
Dr Peter M. Kelly
[email protected]

PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key>
(fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)

> On 28 Dec 2014, at 8:04 pm, jan i <[email protected]> wrote:
> 
> Hi.
> 
> I can see that peter and I use {} different.
> 
> peter:
> if (...) {
> }
> 
> jan:
> if (....)
> {
> }
> 
> Does it matter ? I dont think we need be strict here.
> 
> Can we agree on using indent == 2 (as present in the code), and NOT using
> tab
> (my vc replaces tab automatically to 2 spaces).
> 
> rgds
> jan i.

Reply via email to