Overview
Explore how to write more robust Python code using type hints in this 28-minute conference talk from EuroPython 2024. Discover the advantages of leveraging typing in Python, including encoding invariants, reducing test requirements, improving development speed and maintainability, and increasing confidence in code functionality. Learn to design APIs that resist misuse and create trustworthy programs through practical code examples. Gain insights into writing Python with a Rust-like approach for enhanced code quality. Suitable for those familiar with reading and understanding Python code.
Syllabus
Writing Python like it's Rust - more robust code with type hints — Jakub Beránek
Taught by
EuroPython Conference