Indentation style...
Bas van Gils
bas.vangils at home.nl
Mon May 28 05:02:32 EDT 2001
On Mon, May 28, 2001 at 10:35:30AM +0200, Thomas Wouters wrote:
> I'm sure, but we also disagree on how to quote postings ;)
nah, not anymore :-) I think it's about time that I conform to the
standards
> [snip]
> Or consider the other way aroud. Someone used 8-spaces instead of a tab
> somewhere. You set tabs to 4 spaces. The original code was:
>
> if x:
> < tab > if y:
> < tab > < tab > return something
> <8*space> return something else
>
> And in your version it'll be (as far as you can tell, because the problem is
> invisible!):
>
> if x:
> if y:
> return something
> return something else
>
> Using three-space tabs simply shifts the problem to deeper indentation
> levels, which are that much harder to figure out.
ok ok ... you convinced me. Tab's are evil :-)
c-ya-and-make-sure-you-are-hunry-ly yours
Bas
--
Bas van Gils <bas.vangils at home.nl>
An invasion of armies can be resisted, but not an idea whose time has come.
(Victor Hugo)
More information about the Python-list
mailing list