Protocols in Python - Why You Need Them
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Discover the power of Protocols in Python and their advantages over Abstract Base Classes in this 29-minute conference talk from EuroPython 2022. Explore the concept of Protocols, introduced in Python 3.8, and learn how they can improve code quality and maintainability. Delve into dynamic vs static typing, optional static typing, and structural subtyping. Gain practical insights through examples demonstrating how Protocols can simplify development and enhance code cleanliness. Understand potential pitfalls and best practices for implementing Protocols in your Python projects.
Syllabus
Introduction
Dynamic vs Static typing
Optional Static typing
Abstract based classes
Structural subtyping
Protocol pitfalls
Taught by
EuroPython Conference
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube