Go to the FreeLists Home Page Home Signup Help Login
 



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

[haiku-development] Coding guidelines

  • From: "Salvatore Benedetto" <emitrax@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 24 Jan 2008 13:25:50 +0000
Hi,

sorry for cross-posting and for bringing this topic up once again,
but I have some doubts about our coding guidelines.

For example, does all devs agree that private member _must_ start with
an underscore? Because it is not stated in the guidelines, but it looks to me
that some code does and some does not follow this guideline.

Another example not very clear to me is
                virtual void SomeFunction(SomeType *);
while for what I have seen many classes uses tabs between virtual,
void, and SomeFunction. Which one is it?

What about public and private keywords? In the documentation looks like
they have to be indented , but they are not in many places.

Same story for both virtual and static keywords.

I know there are bigger problems than this, but as the projects gets
bigger and bigger,
I think it's better if we all agree on the same guidelines and stick with it.

I really hope not to offend anyone, nor to start any flame.

I'm available for fixing the coding guidelines page if needed.

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





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