Type Implications in Python 4 (or 3.9)
26 Aug
2020
26 Aug
'20
8:02 a.m.
One suggestion I had for the next Python release is to add type-implication support. Many developers have learned Python, but do not want to use it since it is slow. An awesome way to fix this is to have optional type-implications. For example, if you know for sure that variable x is an int, you can make Python just a bit smaller by somehow specifying to the interpreter that the variable is an integer. Something like 'x::int = 5'. By having optional type implications, you can still do everything you do with normal Python, except you can speed it up a little bit by telling the Interpreter that this variable is starting off with this datatype.
1310
Age (days ago)
1310
Last active (days ago)
6 comments
5 participants
participants (5)
-
Calvin Spealman
-
Christopher Barker
-
Guido van Rossum
-
krishnans2006@gmail.com
-
Ronald Oussoren