Py3K idea: why not drop the colon?

Robert Kern robert.kern at gmail.com
Mon Nov 13 23:08:38 CET 2006


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.

Never.

-- 
Robert Kern

"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 mailing list