Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Static Typing in Python

EuroPython Conference via YouTube

Overview

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

Reviews

Start your review of Static Typing in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.