Beginning programming with Python
boud at rempt.xs4all.nl
Fri Nov 19 10:45:13 CET 1999
On Fri, 19 Nov 1999, Fredrik Lundh wrote:
> Boudewijn Rempt <boud at rempt.xs4all.nl> wrote:
> > I tend to forget the colons after function and class definitions and
> > everywhere else and the double == in if's - mainly because, for the life
> > of Brian, I can't see why they are there. It seems to me the language
> > would be just as easily parseable and readable without this bit of
> > interpunction.
> guess you weren't part of the CWI design team -- they
> did test this on humans, you know, and discovered that
> the language wasn't as easily parseable and readable
> without the colons...
You needn't guess about that, I guess ;-). I didn't know there
was a design team for Python, I though it was Guido's invention.
But I still wonder about the double == - if I can't assign in
an if, why insist on ==?
Boudewijn Rempt | http://denden.conlang.org
More information about the Python-list