30 Jul
2020
30 Jul
'20
2:56 p.m.
Today I’m happy (and a little trepidatious) to announce the next version of PEP 622, Pattern Matching. After all the discussion on the issue, I can still not stop thinking
On 08/07/2020 16:02, Guido van Rossum wrote: that there needs to be a visual distinction between "capture" and "match" variables. Having rules ("plain names are capture, dotted names are match") is one more thing to be learnt. One more bit of mystery when (a near newbie is) reading code. Possible compromise: *two* sigils - one for capture, one for match. Both would be optional, only required when the default is not what is wanted, but could be added regardless if the author felt it added clarity.