lkml.org 
[lkml]   [2007]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: coding style
[Stefan Richter - Sat, Jun 16, 2007 at 07:43:12PM +0200]
| From: Stefan Richter <stefanr@s5r6.in-berlin.de>
| To: gorcunov@gmail.com
| CC: "Kok, Auke" <auke-jan.h.kok@intel.com>,
| Chris Friesen <cfriesen@nortel.com>,
| LKML <linux-kernel@vger.kernel.org>,
| Randy Dunlap <randy.dunlap@oracle.com>,
| Jan Engelhardt <jengelh@computergmbh.de>,
| dave young <hidave.darkstar@gmail.com>, Willy Tarreau <w@1wt.eu>,
| apw@shadowen.org, jschopp@austin.ibm.com
| Subject: Re: coding style
| Date: Sat, 16 Jun 2007 19:43:12 +0200
|
| gorcunov@gmail.com wrote:
| > [Stefan Richter - Sat, Jun 16, 2007 at 03:07:43PM +0200]
| > | Cyrill Gorcunov wrote:
| > | > There sould be someting making strict rule over alignment (as it done
| > | > for the tabs size).
| > |
| > | That's impracticable. Alignment, as it serves readability, cannot be
| > | covered by a few strict rules.
|
| > Yes, but C syntax (and grammar) is limited set. And alignmet I'm talking
| > about may cover the following statements only:
| >
| > 1) Mathematical
| > 2) Logical
| > 3) Function's arguments
|
| Sure, but we have sometimes long names and long ./-> dereference
| expressions. Alignment of those after line wraps sometimes turns out
| better if 'taste' rather than a simple rule is applied.
| --
| Stefan Richter
| -=====-=-=== -==- =----
| http://arcgraph.de/sr/
|

Of course you're absoulutely right!!! And that is why I've mentoined
that it would be _recommendations_ only in CodingStyle.

Cyrill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-16 20:27    [W:7.208 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site