Great for smaller ones too! I type annotate every function, even
def parse_args() -> argparse.Namespace:
I agree that statically typed languages are preferable. I don't consider static
typing optional so I'm glad Python is growing a solution that supports it,
In my experience, mypy works surprisingly well. It doesn't hurt my
coding speed at all but enhances it to levels that were not
previously possible in Python, due to a lack of typing. False
positives are rather rare.