Python 3.10 Pattern Matching in Action

Опубликовано: 08 Март 2021
на канале: Big Python
9,624
325

In this tutorial, we're looking at Structural Pattern Matching coming to Python 3.10. Using 3 real-world examples, you will see how it can make code shorter and more readable. We'll also explore the functional programming origins of pattern matching and compute derivatives of math expressions using the `ast` module in Python.

https://tkarabela.github.io/bigpython
  / bigpythondev  

🔴 SOURCE CODE 👇
https://github.com/tkarabela/bigpytho...

◼️ TIMESTAMPS 🕑
00:00 Intro
00:22 What is Pattern Matching?
02:32 Example 1: Event Queue, dataclasses
03:50 Example 2: JSON API, dicts
06:45 Example 3: Tree traversal, computing derivatives
11:36 Outro

◼️ REFERENCES 📚
https://www.python.org/dev/peps/pep-0...

https://www.python.org/dev/peps/pep-0...
https://www.python.org/dev/peps/pep-0...

https://github.com/gvanrossum/patma/b...
https://en.wikipedia.org/wiki/Pattern...


◼️ TOPICS 🎓
#ProgrammingTutorial #PatternMatching #BigPython #FunctionalProgramming #Python

◼️ CREDITS 🙏
Icons made by Freepik from www.flaticon.com


На этой странице сайта вы можете посмотреть видео онлайн Python 3.10 Pattern Matching in Action длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Big Python 08 Март 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,624 раз и оно понравилось 325 зрителям. Приятного просмотра!