tabs do WHAT?

William Tanksley wtanksle at hawking.armored.net
Sat Jan 29 01:21:33 EST 2000


On 28 Jan 2000 16:21:33 GMT, Thomas Hamelryck wrote:

>If braces are used, you can choose between a myriad of tools to get 
>consistent indentation (there are lots of C and C++ beautifiers out
>there). However, if the indentation in python is screwed up you 
>are lost completely. No tool can correct that (yes and I do know
>pindent).

The whitespace-eating nanoviruses which so persistently plague so many
people who have never seriously used Python are only a tiny mutation away
from eating curlybraces as well, so I wouldn't be so complacent.  If they
can eat a tab and destroy a single line of Python, they can just as easily
eat a curly brace and destroy an entire function of C.

(Actually, I have spent a few hours cleaning up C code where the braces
had gotten confused and someone had deleted too many -- it took a while to
figure out which one went where.)

>Thomas Hamelryck    Institute of Molecular and Structural Biology

-- 
-William "Billy" Tanksley, in hoc signo hack



More information about the Python-list mailing list