#Match-Case
2 posts
4 min read
Modern Python Intermediate #6: Pattern matching in depth
The next step from basics match-case — class patterns and __match_args__, sequence/mapping patterns, captures and guards, plus anti-patterns.
4 min read
Modern Python Basics #3: Control flow — if, while, for, match-case
Indentation-based blocks, range/enumerate/zip, and match-case pattern matching that has a different feel from switch.