Introduction to Structural Pattern Matching
카테고리 : 파이썬 (Python core, library, ...)
난이도 : 중
발표 시간 : 40분
언어 : 영어
발표 장소 : 105호
난이도 : 중
발표 시간 : 40분
언어 : 영어
발표 장소 : 105호
설명
Structural Pattern Matching is a new feature in Python 3.10. I think it's a big feature added to Python after a long time. In this talk, I will show you the basic usage of the feature with various sample code. Let's try to understand how to use Pattern Matching and start using it in 3.10.
In this talk, I will introduce the motivation behind Strucral Pattern Matching from PEP.
Then I will explain the syntax and basic usage of Strucral Pattern Matching.
Next I will show how to use the various patterns with sample code.
The patterns introduced are Literal, Capture, Wildcard, OR, Value, Group, Class, Sequence, Mapping, AS and Guards.
발표자 소개
Takanori Suzuki
Takanori is a Chairperson of PyCon JP Association(www.pycon.jp). He is also a director of BeProud Inc.(www.beproud.jp), and his title is "Python Climber". Takanori held PyCon JP 2014 to 2016 as the chairperson. Currently he teaches Python to beginners as a lecturer at Python Boot Camp(pycamp.pycon.jp) all over Japan. In addition, he published several Python books. Tananori plays trumpet, climbs boulder, loves Lego, ferrets and beer.