by willvarfar · 9y ago · 0 comments
Recent C++ with lambda and auto is much improved but still not nearly as productive as Python.
Likewise lambda has really made Java better, but lack of type inference really makes it clunky to write.
I really want a statically typed Python. But because I don't have it, I choose Python for the syntax over c++/Java even for performance critical code.
You need to give type annotations a shot! https://www.python.org/dev/peps/pep-0484/#abstract
pip install mypy
mypy script.pyCan golang fill this role?
Python also has optional type support since 3.5: https://docs.python.org/3/library/typing.html
What do you base that assertion on? :)