[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: codingstyle?



sön 2002-11-03 klockan 22.02 skrev Herbert Xu:
> Tollef Fog Heen <tollef@add.no> wrote:
> >
> > no tabs.  spaces.  four spaces.
> 
> Why not tabs? If you're doing so many levels of indentation as to
> make it overflow to the right, then something's going wrong.
> 
> Besides, for those who really must have four spaces, you can always
> adjust it using tabsize.

Some of us actually use meaningful variable and function names too,
since C has a flat namespace. With 8-space indenting and meaningful
variable names you'll be halfway to eternity with even two levels of
indentation.


/Martin

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: