PyCon Israel 2022

🇺🇸 meet the best feature in python 3.10: match-case
2022-06-28, 16:00–16:20, Hall 3


1,1 == 1,1
1, True, 1
This bug led me into a rabbit hole of learning the internals of python's interpreter. This is a story of how python 3.10's structural pattern matching feature changed the way I write code completely

In this talk I'll go over the new structural pattern matching (also known as “match-case”) featured in python 3.10 and present real world examples on when and why it's extremely useful. In this talk, we will break the misconception that match-case is just another “switch-case” for python, and discover the it’s real power. those use cases include: * creating interactive CLIs * creating custom flake8 plugins * validating custom syntax

Session language – English Target audience – R&D