Re: tabs in source code

[prev] [thread] [next] [lurker] [Date index for 2006/06/19]

From: Jeremy Stephens
Subject: Re: tabs in source code
Date: 22:38 on 19 Jun 2006
David Champion wrote:
> Yes, I hate when people use tabs instead of spaces -- but I also hate
> when people use spaces instead of tabs.
>
> They work fine together if you only tab where you want tabs and only
> space where you want spaces.  (Hint: spaces are character-sized, and
> tabs are tab-sized.)
>   
You make a good point.  I just hate it when the behavior switches
halfway through the code.  I'm OK with only tabs if that's all someone
uses, and your methodology would also be fine.  But don't use 4 spaces
at one level of indentation and a tab at the next level, assuming that
everyone keeps their default tab width at 8 (which is what I'm dealing
with at the moment).

-- 
Jeremy Stephens      Computer Systems Analyst I    School of Medicine
                     Department of Biostatistics   Vanderbilt University


There's stuff above here

Generated at 20:01 on 27 Jun 2006 by mariachi 0.52