0/6 уроков (0%)
– из 6
Protocols in Python - Why You Need Them
YouTube·EuroPython
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.