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

  • From: Alexandre Deckner <alex@xxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 03 Dec 2009 17:55:57 +0100

Ingo Weinhold wrote:
On 2009-12-03 at 14:13:24 [+0100], Alexandre Deckner <alex@xxxxxxxxxxxx> wrote:

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).
Why not, but i've encountered some issues sometimes when having
long return type names, long typedefs and/or long method names.
In some cases, even trying to be aligned is not really possible with
the 80 char limit, you'd have cut in the middle of the method name :-)

Regards,
Alex


Other related posts: