Python complaints
skaller
skaller at maxtal.com.au
Thu Nov 25 18:34:29 EST 1999
Aahz Maruch wrote:
>
> In article <81g8po$reo$1 at mach.vub.ac.be>,
> Thomas Hamelryck <thamelry at vub.ac.be> wrote:
> >
> >Block delimitation by indenting. This makes python look like a porsche
> >with a caravan attached :-). As far as I know, most python users even
> >seem to like this for some reason.
>
> I agree with you and I'm also one of the people who likes it. Here's
> why: it makes Python code *readable*.
I agree. I'll go further. I like to write code, literate programming
style FOR PUBLICATION. Just try typesetting C for publication
(and I mean ALL the required code, not just snippets).
Compare with Python. you don't even need to understand python
to read an algorithm written using it:
for i in [1,2,3]:
print i, i * i
is plain obvious 'psuedo code' that has the nice
feature that it can actually be executed.
--
John Skaller, mailto:skaller at maxtal.com.au
10/1 Toxteth Rd Glebe NSW 2037 Australia
homepage: http://www.maxtal.com.au/~skaller
voice: 61-2-9660-0850
More information about the Python-list
mailing list