Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [03-2008 Date Index] [Date Next] || [Thread Prev] [03-2008 Thread Index] [Thread Next]

[haiku-development] Re: coding style

  • From: Gabriele Biffi <mlist@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 03 Mar 2008 10:19:28 +0100
Axel Dörfler wrote:
* use column style for classes
* don't indent public/private (saves a tab)

That's what I do in my code, so I vote for these :-)

* use "char* variable" instead of "char *variable" in C++ code

I think "char *variable" is better, because if you write "char* variable1, variable2" can be confusing (variable2 isn't a pointer).

* don't use ", fMyMember(...)" initializers (my greetings to Stippi ;-
)), but "fMyMember(...),"

I agree on that one, too.


Regards,

Gabriele






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.