[Python-Dev] Python -t

Paul Prescod paul@prescod.net
Thu, 10 Feb 2000 11:49:30 -0800


Skip Montanaro wrote:
> 
> Actually, I suspect that many people are in the same boat I'm in.  I rarely
> need to move code I write off of Unix systems.  I had to execute "python
> --help" yesterday to learn what -t means.  Modules that I made public ages
> ago with no consideration of the tab devil have elicited nary a peep about
> indentation problems from anyone.  (Of course, maybe nobody uses them and
> I'm simply deluding myself thinking they might be of interest to
> someone... ;-)

Mixing tabs and spaces is not all that likely to cause problems, I
admit. It's mostly in the hands of newbies starting from scratch (and
anti-whitespace zealots) that it will be a problem.

> Still, if all tabs or all spaces is the way to go and we can be reasonably
> sure that most/all people will have an indentation-friendly editor at their
> disposal, then perhaps after a period of time -t should be the default.

Well everyone in the world has an editor that either does tabs or
spaces. Even "modern" (and I use the term VERY LOOSELY) versions of DOS
EDIT.COM seem to preserve spaces. It didn't before. Can you imagine that
there is still someone at Microsoft tweaking that code?

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
"The calculus and the rich body of mathematical analysis to which it
gave rise made modern science possible, but it was the algorithm that
made possible the modern world."
        - from "Advent of the Algorithm" David Berlinski
	http://www.opengroup.com/mabooks/015/0151003386.shtml