News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by avianlyric on Friday April 22, 2022 @06:11AM (#31119912)
To be fair, I don’t think you need that entire stack. Just using VSCode + pyright (which is a one button install in VSCode) + type stubs for libraries your using without native hints, gets you 99% of the benefits.

If you really want, you can even throw in a little pre-commit hit hook that runs pyright and prevents you from commuting code with type errors.

There are no comments on this comment yet.