[haiku-development] Re: Coding guidelines

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 24 Jan 2008 15:03:03 +0100

2008/1/24, Salvatore Benedetto <emitrax@xxxxxxxxx>:
> Hi,
>
> sorry for cross-posting and for bringing this topic up once again,
> but I have some doubts about our coding guidelines.

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

Yeah I'd like to have some clarifications on this, too. I just rewrote
GLView.h and realized I don't know which model to follow (Window.h ?
Roster.h ?).

Other related posts: