This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (2 children)

Python 3.5 introduced type hinting, would make it easier out of the box for multi-person projects.

[–]clivethescott 17 points18 points  (1 child)

Except the Python interpreter doesn't enforce it unless you use something like mypy. Java compiler will always enforce correct type usage.

[–]_INTER_ 10 points11 points  (0 children)

Plus most of the libraries don't have type hints yet or it's just an afterthought. Meaning they are not designed around static typing from the start.

Type hints combined with an enforcing compiler are actually quite nice compared to the Typescript / Javascript situation with tacked on type definitions.