syntax difference

Chris Angelico rosuav at gmail.com
Mon Jun 18 08:00:20 EDT 2018


On Mon, Jun 18, 2018 at 9:50 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> 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
>

Oh, I forgot about that. That's why Guido is busily stuffing it with
every feature he possibly can, in the hope that - once Python runs out
of popularity - it'll at least... actually, you know what, I got
nothing.

ChrisA



More information about the Python-list mailing list