Use typehints wherever possible to improve code safety and IDE support

Use typehints wherever possible to improve code safety and IDE support

🔥 Simple typehints and annotations go a long way

Even without any docblocks, this code is perfectly understandable by both developers and IDEs

Writing code like this: 👉 Prevents bugs using type safety 👉 Makes the code self-documenting 👉 Takes only a few seconds to implement

We're writing a book, you can get it for free here.