Talk - Brandt Bucher: A Perfect Match The history, design, implementation, and future of Python's...

preview_player
Показать описание
Python 3.10 was released on October 4th, bringing with it a major new feature: "structural pattern matching". As one of the designers of the feature and its principal implementer, my goal is to introduce you to Python's powerful, dynamic, object-oriented approach to this long-established functional programming construct, and to explore ways that you might use structural pattern matching in your own code. Along the way, we’ll also dive into the history of the match statement, the design process behind it, how it actually works, and what we're already doing to improve it in Python 3.11 and beyond.

Рекомендации по теме
Комментарии
Автор

Good talk about *structural* pattern matching (emphasising the word structural because people often miss it and misunderstand this feature as a switch statement). Thank you for the talk and this new feature!

NicolasChanCSY
Автор

Love this style of talk, hearing a bit about the feature and why I should care about it in the first place. Haven't used a match statement before (work in other languages mostly). Will definitely be thinking about how this can help simplify my code in the future. Thanks!

jarail
Автор

what was the name of the language you mentioned in which there are implementations of desision trees?

hoffenreichalex