All you need to know about Python Type Hints

Why and How

As you know that python is a dynamic typing language. The dynamic typing introduce lots of convenience, meanwhile, it also may introduce problems to your code especially when you code are being used a lot by other people either private or public.

Here I put some useful blogs togehter with some good packages of using Type hints for reference to readers.

Blogs

Pros and Cons of Type Hints

12 Beginner Concepts About Type Hints To Improve Your Python Code

Code Better With Type Hints — Part 3 — PyBites

The state of type hints in Python · Tech articles by Bernát Gábor (bernat.tech)

Packages

Pydantic

“Data parsing and validation using Python type hints”

--

--

No responses yet