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

  • From: "Salvatore Benedetto" <emitrax@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 2 Mar 2008 23:15:44 +0000

On 02/03/2008, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> "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;" ;-)
>

I love coding guidelines discussions :)

>  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

this is the only one I don't like, but I can get used to it.

>  * 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.
>
>
>

Regards,
-- 
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer Engineer
University of Pisa
www.messinalug.org

Other related posts: