Re:PEP 622 – Structural Pattern Matching
by dragonwriter on Wednesday June 24, 2020 @11:53AM
(#23629404)
Pattern matching traditionally resembles instantiation except potentially with wildcards, because the “pattern” in “pattern matching” is a object representation template in the same representation used elsewhere in the language.
Using a different syntax for pattern matching loses the main point of pattern matching.
Using a different syntax for pattern matching loses the main point of pattern matching.