lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 6 Apr 2007 23:53:45 +0200 (MEST)
FromJan Engelhardt <>
SubjectRe: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)
On Apr 6 2007 14:05, David Brownell wrote:
>
>Please change your coding style to conform to Documentation/CodingStyle.
>
>	***	Only indent with tabs!!		***
>
>Every one of those examples violates that simple rule.
>
>Why does *anyone* have even the slightest difficulty understanding such a
>simple rule?  I realize that two of those words have more than a single
>syllable, but that should not be a problem.  Even EMACS is trainable.

Tabs should be used for indent, not padding. People wanting to use
different-sized tabs can change settings in their editor, i.e.
to make a tab 12 instead of 8. Or 6. Or whatever. If tabs only ever
appear at the front, this works, it breaks when tabs are used to line
up foo->bar=1; foo->boom=17; statements.

Jan
-- 
-
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-04-06 21:59    [from the cache]
©2003-2008