[Python-ideas] Making colons optional?

Riobard Zhan yaogzhan at gmail.com
Sun Feb 8 07:47:00 CET 2009


On 6-Feb-09, at 2:27 PM, Bruce Leban wrote:
> So what? Commas are also mandatory. They look like semicolons so we  
> should make them optional too. Am I joking?

You can not generalize that far. Most programming languages require  
commas (notable exceptions include Lisp and Tcl), but Python is the  
only language that requires trailing colons. There are some  
differences between making commas optional and making trailing colons  
optional. 



More information about the Python-ideas mailing list