Re:Python’s “type hints” are a bit of a disappointment to me
by Spivak on Friday April 22, 2022 @10:06AM
(#31121690)
It's not really as necessary as you think -- making mypy/pyright pass your CI ends up being a lot of busy work to make the type checker happy when, to me, all the value is realized when it's used as a development aid. If your test suite passes that's honestly more than good enough.
[ Parent
| on HN ]
Re:Python’s “type hints” are a bit of a disappointment to me
by icedchai on Friday April 22, 2022 @06:33PM
(#31129046)
You have the right attitude. I have worked with delusional individuals who one day "soon" expect to mypy check their entire several hundred thousand line legacy code base. This is supposed to be a boon to developer productivity. I hope it outweighs what was lost getting to this point.