[haiku-development] Re: Coding Style clarification/vote
- From: Artur Wyszynski <aljen-mlists@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 29 Jun 2009 22:42:54 +0200
Axel Dörfler pisze:
Hi there,just a minor thing about further completing our coding style document (and practice): 1) After the license header (and eventual header guard), should there be one or two blank lines between the contents? I prefer two as that's what we use everywhere else to separate sections, but most seem to prefer a single blank line.
I prefer two too
2) To call the constructors of the inherited class, and members, we have two different style in our repository:a) Class::Class() : InheritedClass(), fMember() { }
maybe
Class::Class()
: InheritedClass()
, fMember()
{
}
with a collon before variable name, as it's easier to for example add,
remove, #ifdef vars ? (that's used at my work and i like that way :)
regards, aljen
- Follow-Ups:
- [haiku-development] Re: Coding Style clarification/vote
- From: Stephan Assmus
- [haiku-development] Re: Coding Style clarification/vote
- References:
- [haiku-development] Coding Style clarification/vote
- From: Axel Dörfler
- [haiku-development] Coding Style clarification/vote
Other related posts:
- » [haiku-development] Coding Style clarification/vote - Axel Dörfler
- » [haiku-development] Re: Coding Style clarification/vote - Stephan Assmus
- » [haiku-development] Re: Coding Style clarification/vote - scott mc
- » [haiku-development] Re: Coding Style clarification/vote - Ingo Weinhold
- » [haiku-development] Re: Coding Style clarification/vote - Axel Dörfler
- » [haiku-development] Re: Coding Style clarification/vote - Karsten Heimrich
- » [haiku-development] Re: Coding Style clarification/vote - Karsten Heimrich
- » [haiku-development] Re: Coding Style clarification/vote - Maxime Simon
- » [haiku-development] Re: Coding Style clarification/vote - Ingo Weinhold
- » [haiku-development] Re: Coding Style clarification/vote - Rene Gollent
- » [haiku-development] Re: Coding Style clarification/vote - Siarzhuk Zharski
- » [haiku-development] Re: Coding Style clarification/vote - Maxime Simon
- » [haiku-development] Re: Coding Style clarification/vote - Stephan Assmus
- » [haiku-development] Re: Coding Style clarification/vote - Clemens zeidler
- » [haiku-development] Re: Coding Style clarification/vote - Axel Dörfler
- » [haiku-development] Re: Coding Style clarification/vote - Ryan Leavengood
- » [haiku-development] Re: Coding Style clarification/vote - Artur Wyszynski
- » [haiku-development] Re: Coding Style clarification/vote - Stephan Assmus
- » [haiku-development] Re: Coding Style clarification/vote - Alexandre Deckner
- » [haiku-development] Re: Coding Style clarification/vote - Oliver Ruiz Dorantes
- » [haiku-development] Re: Coding Style clarification/vote - host
- » [haiku-development] Re: Coding Style clarification/vote - Axel Dörfler
- » [haiku-development] Re: Coding Style clarification/vote - DarkWyrm
- » [haiku-development] Re: Coding Style clarification/vote - Axel Dörfler