lkml.org 
[lkml]   [2003]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Coding standards. (Was: Re: [PATCH] [2.5] Non-blocking write can block)


Greg KH wrote:
> On Wed, Jun 04, 2003 at 11:21:41AM -0400, Timothy Miller wrote:
>
>>Perhaps it would be good to have an explanation for the relative
>>importance of placing braces and else on the same line as compared to
>>other formatting standards.
>
>
> Please read Documentation/CodingStyle.
>
> If you want more justification, read my OLS 2001 paper.
>


Well, the coding style you propose isn't exactly the way I do things
(although it's pretty close). For instance, I'm not accustomed to using
a single tab character for indent. Having more experience with X11
internals than Linux, you can see where I would get my four-space indent
habit from. No matter. I can easily adapt.

One thing I wanted to mention, however, is that your tongue-in-cheek
style doesn't help you. Coding style is something that needs to be
taken seriously when you're setting standards.

-
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: 2005-03-22 13:36    [W:0.069 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site