Re: PEP 622: Structural Pattern Matching -- followup

June 25, 2020
10:17 a.m.
'?foo' or 'foo?' to mark a variable binding
I like that idea a lot, with a strong inclination for the '?foo' variant. Seeing the '?' first makes it clear right away that it's a special context. And it keeps it more distinct from the None-aware operators (from PEP 505, in case that gets adopted).
1704
Age (days ago)
1704
Last active (days ago)
0 comments
1 participants
participants (1)
-
Russell Davis