[Python-ideas] Python Reviewed
Chris Barker
chris.barker at noaa.gov
Mon Jan 9 20:30:33 EST 2017
I just noticed a logical inconsistency here:
The Good:
> Syntactically significant indenting
> The Bad:
> Colons at the end of if/while/for blocks.
>
> No end required for if/while/for blocks.
Huh? if you have Syntactically significant indenting, then an "end"
indicator is redundant. and right above, you say you don't like the
redundant colon....
which is it??
It also is a potential problem with tab expansion tricking the programmer.
I do wish tabs had been banned from indentation from the beginning....
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170109/389592b1/attachment.html>
More information about the Python-ideas
mailing list