[haiku-development] Re: coding style (was: Cleaned up Application.h)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 02 Mar 2008 23:36:13 +0100 CET

"Michael Lotz" <mmlr@xxxxxxxx> wrote:
> Count me as one of the proponents of the "alternative" format. We had 
> this discussion a few times now and I think we always came to the 
> conclusion that it is really a matter of taste and being used to. 
[...]
> P.S.: While we are at discussing matters of taste, we could also 
> again 
> argue about the pros and cons of "char *variable;" and "char* 
> variable;" ;-)

Since I was more or less the only proponent of our current style here 
(IIRC), to get this over with, how about we compromise to the 
following:
* use column style for classes
* don't indent public/private (saves a tab)
* use "char* variable" instead of "char *variable" in C++ code
* don't use ", fMyMember(...)" initializers (my greetings to Stippi ;-
)), but "fMyMember(...),"

Does that make everybody happy somehow? :-)
And even more important: does that sound like something everyone is 
able to follow?

Bye,
   Axel.


Other related posts: