PEP 526 - var annotations and the spirit of python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Jul 1 20:47:32 EDT 2018


On Sun, 01 Jul 2018 21:55:21 +0400, Abdur-Rahmaan Janhangeer wrote:

> i meant that x: int = 3 is dangerously close to int x = 3,
> 
> in the long run, you'll come across people who come from other languages
> wanting to java/c style their code and end up sprinkling a lot of these,
> it'll be a sad day for me

It is a sad day for me when I see Python programmers writing x=3 or using 
eight space tabs or putting a space before function call parentheses len 
(seq) too, but I cope.

Its a sad day for me when I see people on mailing lists top posting and 
not using capital letters or correct punctuation, but I cope with that 
too.

In the long run, why do we always fear people coming from other 
languages? Why don't they fear Python programmers coming to their 
language and saying "Why do I have to bother with these type 
declarations, why can't the compiler work it out?"


-- 
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson



More information about the Python-list mailing list