Python 2.0

Kumar Balachandran kumar*xspam* at *xspam*rtp.ericsson.se
Fri Jun 4 21:07:05 CEST 1999


>>>>> "Graham" == Graham Matthews <graham at sloth.math.uga.edu> writes:

    Graham> Graham Matthews wrote in message
    Graham> <7ik6mi$lbk$1 at cronkite.cc.uga.edu>...
    Graham> You are envangelising (a not uncommon response when
    Graham> someone remotely criticises Python). Stop evangelising and
    Graham> start considering the technical issues involve (read (!) 
    Graham> other posts for what those issues are).
 
    Graham> graham
Here is some useful evangelizing (methinks). One of the irritating things about
Python is the use of whitespace in syntax. Agreed, the code is
readable without parentheses or braces, but why not have optional
syntactic sugar such as

if
...
elif
...
else
...
fi

def
...
...
fed


while
...
elihw or wend



for
...
rof

etc. It makes the language more elegant. When I see code using
indentation or blank likes to achieve blocking of constructs, it
reminds me of an old language (FORTRAN I think it was called:-).

The change is simple to achieve if backward compatibility is given to
accomodate people that grew up with FORTRAN.






More information about the Python-list mailing list