Understanding Python: Structural Pattern Matching

Published: 27 August 2024
on channel: Jake Callahan
853
49

Are you tired of nested if-else statements that make your code look like a tangled mess? Structural pattern matching offers a clean, efficient alternative that will save you time and headaches.

In this video, we introduce the concept of structural pattern matching, show how to match against sequences with a basic CLI example, demonstrate the challenges when matching class instances, and finally wrap up with my favorite part, handling structured data.

As always, please comment below if you have any questions or suggestions for future videos.

Chapters
========
0:27 - Basics
11:00 - Sequences
19:00 - Class Instances
29:06 - Structured Data

Follow me on X: https://x.com/JakeJCallahan
Source: https://github.com/JacobCallahan/Unde...
Intro music: 失望した by Eva
Link:    • EVA – 失望した [Synthwave] | Music for your vi...  
Outro music: Elix by Synthness
Link:    • Synthness - Elix ★ No Copyright Djent Meta...  


On this page of the site you can watch the video online Understanding Python: Structural Pattern Matching with a duration of hours minute second in good quality, which was uploaded by the user Jake Callahan 27 August 2024, share the link with friends and acquaintances, this video has already been watched 853 times on youtube and it was liked by 49 viewers. Enjoy your viewing!