Py3K idea: why not drop the colon?
robert.kern at gmail.com
Tue Nov 14 17:53:47 CET 2006
Hendrik van Rooyen wrote:
> "Robert Kern" <robert.kern at gmail.com> wrote:
>> Michael Hobbs wrote:
>>> True enough. Although, I have to ask how many times you define a new
>>> function only to have Python spit a syntax error out at you saying that
>>> you forgot a colon. It happens to me all the time. (Usually after an
>>> "else") If you'd never notice that the colon was missing if the compiler
>>> didn't point it out, is it really that readable? For me, I tend to get
>>> annoyed at language "features" that I'm constantly tripping over.
> I confess I find myself in the position of a Yorkshire Youngster - I don't
> believe you!
Okay, not often enough or annoyingly enough for me to remember having done so.
Perhaps seven years ago when I started using Python, but not any time recent.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list