Online / 5 & 6 February 2022

visit

Gradual type checking of your python code

From initial critisms to benefits for dev, runtime and testing


Type annotations in Python improves readability, helps finding errors and supports tooling to improve security, developer efficiency as well as automated testing. However, fully typed Python might be heavier to learn and eventually more difficult to maintain, especially on a rapidly changing codebase under active development. The goal of the current presentation is to balance initial doubts and critisms with longer term benefits, from the point of view of a developer who moved from statically typed languages to Python more than twenty years ago. The current presentation aims at highlighting perceived pros and cons of type hinting and illustrate some added value in terms of confidence and test coverage, with examples involving vanilla Python and Django codebases.

Speakers

Photo of Thierry Chappuis Thierry Chappuis

Links