Overview
Explore gradual typing in Python and its practical implementation in large-scale projects through this PyCon US talk. Learn how type coverage enhances code readability, bug detection, and developer efficiency. Discover strategies for adopting types in rapidly evolving codebases, focusing on leveraging Pyre for meaningful results as you progress from minimal annotations to a fully typed codebase. Gain insights into the approaches and tools used to increase type coverage and "strictify" the Instagram codebase, one of the largest active Python projects. Delve into topics such as gradual typing, type checkers, the benefits of using types, strict mode, setting goals, automatic type coverage, code patterns, and types in Python.
Syllabus
Introduction
Outline
Gradual Typing
Type Checkers
Why Use Types
Strict Mode
Setting Goals
Prior Statistics
Automatic Type Coverage
Code Patterns
Types in Python
Taught by
PyCon US