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

YouTube

Pattern Matching in Python

EuroPython Conference via YouTube

Overview

Explore structural pattern matching in Python 3.10 through this 29-minute EuroPython 2021 conference talk by Daniel Moisset, one of the feature's contributors. Learn about the motivation behind this new functionality, its applications in processing heterogeneous data structures, and its role as an alternative to method dispatch. Gain insights into effectively using pattern matching, understanding when to apply it, and avoiding potential pitfalls. Suitable for intermediate Python developers, the talk covers topics such as the match-case statement, use cases, and object decomposition. Conclude with a Q&A session addressing design decisions behind Python's implementation of pattern matching.

Syllabus

Introduction
What makes objects different
Pattern Matching
Match Case Statement
Use Cases
Decomposition

Taught by

EuroPython Conference

Reviews

Start your review of Pattern Matching in Python

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.