[Python-ideas] Making colons optional?

Leonardo Santagada santagada at gmail.com
Thu Feb 5 20:07:12 CET 2009


On Feb 5, 2009, at 4:12 PM, Riobard Zhan wrote:

> I think omitting colons makes Python more elegant--more uniform,  
> less clutter. It's an itch every time I see a piece of Ruby code  
> with lots of def's and if's without trailing colons ...


Could you explain to us how ruby does it?

ps: Just remember that they do have an end in the end of suites (which  
in my opinion look worse than the colons...)

--
Leonardo Santagada
santagada at gmail.com






More information about the Python-ideas mailing list