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 <[email protected]> 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
>
> [email protected]
>



-- 

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

[email protected]
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to