[haiku-gsoc] Re: Xsi semaphorses: patch #1

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Thu, 24 Jul 2008 16:24:09 +0200 CEST

"Salvatore Benedetto" <emitrax@xxxxxxxxx> wrote:
> > Include order is:
> > * single private header matching the file (ie. "MyClass.h" for
> > "MyClass.cpp")
> > * then from most public (POSIX/STL, ...) to most private (ie: Haiku
> > headers, private kernel headers, private headers)
> By the way, that's actually seem not to be mentioned in the Haiuk
> Coding Guidelines.
> 
> The only thing I found about "include" is the following:
> 
> - Alphabetize #include statements, group "includes" and <includes> 
> separately.
> - Don't use <pathname/include.h> (<sys/stat.h> is an exception).
> 
> It'd be nice if someone could update it.

Good idea, I've done so, now.
I also updated the example class, as Michael's changes didn't really 
follow what we agreed on AFAICT.
Would also be nice if we could get rid of the tabs in there (because 
HTML tabs are always 8 chars), and thus you cannot just copy it anyway. 
Something more colorful would also be nice (as in Ryan's layout 
article, just with a bright background instead). Can someone recommend 
a tool that does this and spills out readable HTML?

Bye,
   Axel.


Other related posts: