Using Structural Pattern Matching in Python: Using Basic Patterns

Publié le: 20 mars 2025
sur la chaîne: Real Python
1,845
63

This is a preview of the video course, "Using Structural Pattern Matching in Python." Structural pattern matching is a powerful control flow construct invented decades ago that’s traditionally used by compiled languages, especially within the functional programming paradigm.

Most mainstream programming languages have since adopted some form of pattern matching, which offers concise and readable syntax while promoting a declarative code style. Although Python was late to join the party, it introduced structural pattern matching in the 3.10 release.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/struct...

The rest of the course covers:
Coding With Basic Patterns
Continuing With Basic Patterns
Understanding Advanced Patterns
Applying Advanced Patterns
Laying the Groundwork for Your App
Matching a Pattern on a Deeply Nested Data Structure
Bringing It All Together and Reading GitHub Issue Comments
Understanding Pattern Matching Limitations


Sur cette page du site, vous pouvez voir la vidéo en ligne Using Structural Pattern Matching in Python: Using Basic Patterns durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Real Python 20 mars 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,845 fois et il a aimé 63 téléspectateurs. Bon visionnage!