style guide (was Re: any value in a standard for defining bit flags?)

Rob Landley rob at landley.net
Wed Jul 5 17:25:38 PDT 2006


On Wednesday 05 July 2006 6:02 pm, ldoolitt at recycle.lbl.gov wrote:
> Rob -
>
> On Mon, Jul 03, 2006 at 01:20:57PM -0400, Rob Landley wrote:
> > Here's the busybox coding style I actually pay attention to:
> > 1) We use tabs for indents.  These tabs are 4 spaces.  Deal with it.
>
> That statement is a smidgen too strong.
>
> 1) We use tabs for indents.  Most developers use tabs to mean 4 spaces,
> but since we only use tabs at the beginning of lines, almost any
> tab-space conversion ratio will keep the code looking sane.

The tabs are four spaces.

> This concept is expanded somewhat in the BusyBox doc/style-guide.txt

That's Eric's style guide.  Not mine.  Amend it all you want, I don't enforce 
it and am not going to start.

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list