Feb 11, 2024
Absolutely.
As I said, I add type hints to all my production code now, and in fact, I moved late last year to using mypy --strict
for all my projects.
There are some cases where I had to add a few # type: ignore[something]
, because --strict
is very strict, but I decided that this was perfectly fine — explicit is better than implicit!