Why aren't colons optional?
Erik Max Francis
max at alcyone.com
Sun Jan 20 04:08:32 EST 2002
Alex Martelli wrote:
> FWIW: me too, despite being a rather good Pythonista by now. At
> least, because it keeps happening often, I can recognize and fix it
> instantly.
Same here. I use python-mode with emacs and so find my eyes looking at
the following line and wondering why it's not indented (which
python-mode will automatically do for you when it sees a colon). My
brain catches up and realizes it missed a colon.
For the record, although they're not strictly required, I think that the
colons should be there. They set things off strongly and that's very
valuable.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ Laws are silent in time of war.
\__/ Cicero
Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
An Esperanto reference for English speakers.
More information about the Python-list
mailing list