Re: tabs in source code

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

From: David Champion
Subject: Re: tabs in source code
Date: 22:14 on 19 Jun 2006
* On 2006.06.19, in <44970FFF.4050701@xxxxxxxxxx.xxx>,
*	"Jeremy Stephens" <jeremy.f.stephens@xxxxxxxxxx.xxx> wrote:
> I hate tabs in source code.  If you must use them, expand them into 
> spaces please if you think anyone will ever want to read it.

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.)

int
main(int argc, char *argv[])
{
	printf("like this: %s\n",
	       "spaces");
	exit(0);
}

That works wonderfully with any tab size.

-- 
 -D.    dgc@xxxxxxxx.xxx        NSIT    University of Chicago
	Matt McIrvin showed me the light. How about you?
        ^

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