filmov
tv
Trey Hunner - Using match case to parse python code

Показать описание
Trey Hunner gave this talk at a virtual San Diego Python meetup on July 28, 2022.
00:00 Testing the microphone
00:27 Talk starts: undataclass tool
01:54 How undataclass works
02:25 Why I used match-case
03:33 Replacing a VERY big elif condition with a case statement
06:45 Audience questions
07:07 Which version of Python was match-case added?
07:35 The not-quite-Python syntax of match-case
08:39 How does the match-case sub-language work?
10:12 Can/should match-case be used like switch-case?
12:10 why undataclass is not on PyPI
00:00 Testing the microphone
00:27 Talk starts: undataclass tool
01:54 How undataclass works
02:25 Why I used match-case
03:33 Replacing a VERY big elif condition with a case statement
06:45 Audience questions
07:07 Which version of Python was match-case added?
07:35 The not-quite-Python syntax of match-case
08:39 How does the match-case sub-language work?
10:12 Can/should match-case be used like switch-case?
12:10 why undataclass is not on PyPI