Whitespace as syntax (was Re: Python Rocks!)

seanb at home.com seanb at home.com
Wed Feb 9 11:23:52 EST 2000


On  9 Feb, Thomas Hamelryck wrote:
> 
> Thomas Hamelryck (that's me!) wrote:
> :  I am in exactly the same position. It was a serious design error.
> :  I wonder how the CP4E people are going to explain to complete
> :  computer illiterates that a python program can contain errors that
> :  are _not even visible_ when you look at the code. 
> 
> Mikael Olofsson <mikael at isy.liu.se> wrote:
> : But they _are_ visible! It's just as visible to me as it is to the 
> : interpreter. 
> 
> Mix tabs and spaces and you can get errors that are not visible.
> Try it. 
> 
> Cheers,
> 
> ---
> Thomas Hamelryck    Institute of Molecular and Structural Biology
> Aarhus University   Gustav Wieds Vej 10C
> DK-8000 Aarhus C    Denmark                
Executive summary: Consistently of indentation style, which is simply a
VERY good idea in most other languages, is CRITICAL with python.
-- 
Sean Blakey
(206)297-7123
quine = ['print "quine =",quine,"; exec(quine[0])"']; exec(quine[0])





More information about the Python-list mailing list