YoVDO

Protocols - Static Duck Typing for Decoupled Code

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Python Courses Mypy Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of Protocols in Python for static duck typing in this 21-minute conference talk from EuroPython 2022. Delve into how Protocols support static type checking with tools like mypy to verify code correctness before runtime. Learn about the motivation behind introducing Protocols as an alternative to explicitly inheriting from Abstract Base Classes (ABCs), which is considered "unpythonic" according to PEP 544. Discover various use cases for Protocols and gain insights on their correct implementation to create more decoupled and idiomatic Python code.

Syllabus

Protocols - Static duck typing for decoupled code - presented by Ran Zvi


Taught by

EuroPython Conference

Related Courses

Stanford Seminar - Optional Static Typing for Python
Stanford University via YouTube
Python Typing - Type Hints & Annotations
Tech with Tim via YouTube
Learning the Ropes - Understanding Python Generics
EuroPython Conference via YouTube
Writing Good Python
EuroPython Conference via YouTube
Don't Start with a Database
EuroPython Conference via YouTube