Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of static typing in Python through this EuroPython 2020 conference talk by Dustin Ingram. Delve into the advantages and disadvantages of static type systems, and learn about recent efforts to introduce optional "type hints" in Python. Discover how static typing impacts Python programmers and gain insights into the future of Python's type system. Examine various topics including dynamic typing, duck typing, static typing examples, and the implementation of static typing at Dropbox. Understand key concepts such as PEP 3107, PEP 483, generic types, type hints, and type checkers. Gain practical knowledge on when and how to use static typing, including its application in unit testing, migration, and refactoring processes. Conclude with a summary and audience Q&A session to solidify your understanding of this evolving aspect of Python programming.
Syllabus
Intro
Overview
Types
Dynamic Type
Any Type
Duct Typing
Static Typing Examples
Dynamic vs Static Typing
Static Typing at Dropbox
PEP3107
MyPi
Pet 483
Generic Types
Type hints
Type checkers
Philosophical differences
Questions
When to use static typing
Unit tests vs static typing
When should you use static typing
Before migrating or refactoring
Using static typing
Summary
Audience Questions
Taught by
EuroPython Conference