Abdulla Al Kathiri writes:

 > Sorry to bother you again with the generic thing.
 > Golang will soon release a new version with Generics. I like their
 > way of doing it. Like Rust, they don’t bother with TypeVars. It
 > makes you wonder why we are not doing something similar in Python.

Typing syntax at present is required to be Python syntax.  New typing
syntax must be introduced to Python, so this is a huge hurdle and you
probably won't get much sympathy here, because most of us have no idea
what you're talking about, and the syntax looks awful if you don't
know why you'd even want it.  Even helpful discussion is going to be
in short supply on this list (for example, I myself understand the
definition of covariance when I read it, but I still have to look it
up every time :-).

Your audience is really in the Typing SIG.  Happy hunting!

Steve



_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/HZQCGWHZVKDCOI4IWQUEYV4TGSUVFUDO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to