Deprecate tabs for indenting (was Re: Indenting with tabs vs spaces)

Erik de Castro Lopo nospam at mega-nerd.com
Tue Dec 4 03:05:23 EST 2001


Jeff Shannon wrote:
> 
> David Bolen wrote:
> 
> > Erik de Castro Lopo <nospam at mega-nerd.com> writes:
> >
> > > You really ought to try using nothing but tabs for indentation and
> > > setting the tab width in your editor to whatever you prefer.
> > >
> > > This is so easy and works **SO** well.
> >
> > Always curious about this in an "all tab" world - how do you align
> > continuation lines that aren't on a tab stop?
> 
> And even if you *do* so, then how are they going to stay aligned when the
> next person to look at it uses a different tab size?

If all the indentation is all tabs it really doesn't matter. The **ONLY**
problem is with mixed tabs and spaces and that should be caught as soon as 
possible.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"He who writes the code gets to choose his license, and nobody 
else gets to complain" -- Linus Torvalds



More information about the Python-list mailing list