News for hackers. Stuff that matters.
Re:What's New in Python 3.11? by Daishiman on Monday June 27, 2022 @01:37AM (#31890925)
I don't use typing with type checkers; I use it to remind readers of my code what types my functions take whenever that's not immediately obvious.

The history of Python means that coders make functions whose return is usually quite clear, but when it's not, I'm really glad I have typing.

Also, some libraries like Pydantic make use of types in a very clever and productive way.

There are no comments on this comment yet.