Python is DOOMED! Again!
Terry Reedy
tjreedy at udel.edu
Thu Jan 22 14:20:04 EST 2015
On 1/22/2015 3:24 AM, Rick Johnson wrote:
> Yes, YES, *YES*!!!! That would be my first choice, or
> docstrings as a secondary. But to introduce new syntax
> into the method signatures is SUICIDE! What the hell is
> this man thinking?
You are years late for complaining about new signature syntax. The
'new' annotation syntax was introduced 5+ years ago in 3.0 and is
already being used for various purposes, but mostly for type hinting.
The current proposal is to introduce a new module that standardizes the
type-hinting use. It is true that it will likely make the use of
annotation more common.
--
Terry Jan Reedy
More information about the Python-list
mailing list