Skip to content
0:00 / 0:00

#protocols#typing#structuralsubtyping

Protocols in Python: Why You Need Them - presented by Rogier van der Geer

EuroPython Conference

36K subscribers • 31 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on EuroPython, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Rogier van der Geer

Intermediate. Assumes working knowledge.

14K views4 years ago

Programming languagesSoftware designPythonDesign patterns

Rogier van der Geer introduces Python protocols and abstract base classes, demonstrating how they enable structural typing and cleaner code.

EuroPython 2022 - Protocols in Python: Why You Need Them - presented by Rogier van der Geer [Liffey B on 2022-07-13] Protocols have been around since Python 3.8. So what are they, and how can they help you write better code? And how are they different from Abstract Base Classes? In this talk I will introduce you to both concepts (ABCs and Protocols), and show you by example how they can make your life easier, and your code cleaner. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License creativecommons.org/licenses/by-nc-sa/4.0/

Why it's here

A top upload from a listed channel

EuroPython is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.