tabs vs spaces, what do IDEs use?
Peter Bismuti
peterb at cortland.com
Thu Dec 13 04:54:54 EST 2001
> Why don't issue a DeprecationWarning whenever tabs are found in the
> source file? That wouldn't "break" things, but it would surely
> motivate tab-using people to learn the right way of doing things.
I've noticed that both JBuilder (if I remember correctly) and
VisualStudio.net use tabs as the default for indenting with a width of 4.
This is certainly a strong piece of anecdotal evidence that refutes this
idea that "normal" people uses spaces for indenting.
I like the idea of the warning as long as I can set a flag to turn it off.
More information about the Python-list
mailing list