Why aren't colons optional?
Courageous
jkraska at san.rr.com
Sun Jan 20 12:15:28 EST 2002
On Sun, 20 Jan 2002 08:40:46 GMT, Alex Martelli <aleax at aleax.it> wrote:
>Edward K. Ream wrote:
> ...
>> readability than do trailing semicolons. The only syntax error I
>> regularly make is to forget a trailing colon. After all, newlines
>
>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.
The worse thing is switching back to C or Java and having to correct
all the colons you've accidentally added to your code. :)
C//
More information about the Python-list
mailing list