Pattern matching: useful feature or hype?
summary
The talk surveys Python's upcoming structural pattern matching feature, comparing draft proposals and community discussions and looking at how other languages use similar features. It identifies best use cases (including working with tree-like data), explains the idea of "telling a story with code," and gives practical predictions about when and how pattern matching will be useful.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:19What is pattern matching
- 5:08Pattern matching syntax
- 8:03Why pattern matching exists
- 10:11Pattern matching use cases
- 12:43Pattern matching in large codebases
- 14:54JSON with pattern matching
- 15:38Qt event handling
- 16:42CLI with pattern matching
- 17:47When to avoid pattern matching
- 20:16Pattern matching vs switch
- 21:42Performance
- 23:01Q&A
