YoVDO

Protocols in Python - Why You Need Them

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Python Courses Code Quality Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Learn to Program: Crafting Quality Code
University of Toronto via Coursera
数据结构与算法 Data Structures and Algorithms
Peking University via Coursera
数据结构与算法第一部分 | Data Structures and Algorithms Part 1
Peking University via edX
Software Construction in Java
Massachusetts Institute of Technology via edX
Advanced Software Construction in Java
Massachusetts Institute of Technology via edX