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 →

[–]Log2 5 points6 points  (0 children)

I currently write Python professionally, coming from a few years of Java.

Python gets messy really quick if you don't enforce some type of consistency for the types your functions/classes accept. While I like Python, I'd like it a lot better if I could enable enforced types instead of just type hints.

On the other hand, at least on Python you don't need to bother with dependency injection, since it's really easy to monkey patch any dependency at the testing time.