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

YouTube

Protocols in Python - Why You Need Them

EuroPython Conference via YouTube

Overview

Coursera Plus Annual Sale: All Certificates & Courses 25% Off!
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

Reviews

Start your review of Protocols in Python - Why You Need Them

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.