[haiku-commits] Re: r34458 - in haiku/trunk: headers/private/kernel src/system/kernel

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 03 Dec 2009 15:02:19 +0100

Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> > That's one rule that i'd like to add to the guidelines.
> > Could we formulate it that way:
> >   "In a class declaration use tabbed columns. Example..."
> > 
> > ie: no mandatory tab count, but emphasize on _aligned_.
> I'm even in favor for a mandatory tab count, since it makes copying 
> between 
> headers less annoying. The modifier and type columns are already used 
> pretty consistently, I believe (position 5 and 13). For the 
> method/variable 
> name column things vary a bit more, but I think the major styles use 
> position 29 and 33 respectively. I'm follower of the latter as I've 
> often 
> found the type column to be too small with the former (particularly 
> when 
> the type is const).

+1.

Bye,
   Axel.


Other related posts: