syntax difference

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Jun 18 07:50:52 EDT 2018


On Mon, 18 Jun 2018 06:35:40 +1000, Chris Angelico wrote:

> On Mon, Jun 18, 2018 at 6:23 AM, Marko Rauhamaa <marko at pacujo.net>
> wrote:
>> Jim Lee <jlee54 at gmail.com>:
>>> IMHO, trying to shoehorn static type checking on top of a dynamically
>>> typed language shows that the wrong language was chosen for the job.
>>
>> I'm also saddened by the type hinting initiative. When you try to be
>> best for everybody, you end up being best for nobody. The niche Python
>> has successfully occupied is huge. Why risk it all by trying to take
>> the whole cake?
> 
> Did you complain when function annotations were introduced back in 2006?
> 
> https://www.python.org/dev/peps/pep-3107/
> 
> That's TWELVE YEARS ago. Over in the Node.js world, that's ... uhh,
> actually that's longer ago than Node.js has even been around. Another
> trendy language is Go... oh wait, that wasn't around in 2006 either.

Yes, but in fairness, people have abandoned Python by the handful for Go 
and Javascript. At the rate people are abandoning Python, in another 10 
or 20 years Python will have dropped to the second most popular language:

http://pypl.github.io/PYPL.html



-- 
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