Contribute Media
A thank you to everyone who has made this possible: Read More

How you can benefit from type hints

Description

Andrey Vlasovskikh - How you can benefit from type hints [EuroPython 2015] [24 July 2015] [Bilbao, Euskadi, Spain]

PEP 484 introduces type hints for Python 3. Type hints can increase readability of our code for both humans and tools and lead to better and safer outcomes. And we'll prove it in this talk!

We're going to take a closer look at type hints, see practical examples of where they can be used and the value they provide. We'll see that simple class types and built-in collection types are often enough for our public API's. We'll also discuss how you can benefit from type hinting stubs for third-party libraries and briefly cover more advanced scenarios like generic types.

Details

Improve this page