[Python-ideas] Python Reviewed
Chris Barker
chris.barker at noaa.gov
Mon Jan 9 20:32:41 EST 2017
Oh,
Here is the history of the colon:
http://python-history.blogspot.com/2009/02/early-language-design-and-development.html
-CHB
On Mon, Jan 9, 2017 at 5:30 PM, Chris Barker <chris.barker at noaa.gov> wrote:
> 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
>
--
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/29b5b628/attachment-0001.html>
More information about the Python-ideas
mailing list