osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PEP 526 - var annotations and the spirit of python


On Sunday, July 1, 2018 at 10:06:49 AM UTC-7, Abdur-Rahmaan Janhangeer wrote:
> was viewing pep526, so, finally, python cannot do without hinting the type
> as other languages?
> will python finally move to
> int x = 3 where int is a pre annotation?
> 
> i am not arguing it's usefulness but rather, does it fit with python?
> 
> Abdur-Rahmaan Janhangeer
> https://github.com/Abdur-rahmaanJ

Sigh.  I came to python to escape type declaration jails and the infinite hair splitting of type inference systems.  I am not at all happy to see this stuff in python code.