4 ms·
I agree that Python doesn't need to get more complex, but I love type annotations. I think people sometimes complain about complex type annotations instead of
by bpshaver 2y ago
I agree that Python doesn't need to get more complex, but I love type annotations.
I think people sometimes complain about complex type annotations instead of considering that complex type annotations are just a symptom of a design that is more complex than it needs to be. In general, it baffles me that people treat type annotations as a hoop to jump through (commit messages like "mypy fixes" or "getting mypy to pass") rather than a constant source of feedback that, yes, sometimes encourages you to simplify your code.