[Tutor] Colons

Brian Christopher Robinson brian@dungeoncrawl.org
Fri Mar 28 11:40:01 2003


Can someone explain the design philosophy behind certain statements, namely 
function definitions and control statements, requiring colons?  I like that 
indentation controls scope in Python, removing the need for semicolons, but 
the inclusion of colons seems a step backwards in that regard.  All the 
statements I'd have to terminate in Java I don't in Python, and vice versa.


-- 
"Words are poison." - Nick on love