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

preview_player
Показать описание
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.

Рекомендации по теме