3 ms·
Yes, just like functions are just a new buzzword for goto. Structural pattern matching is a lot more than just switch/case, and I while I think pythons impleme
by tirpen 6y ago
Yes, just like functions are just a new buzzword for goto.
Structural pattern matching is a lot more than just switch/case, and I while I think pythons implementation looks imperfect, it will still be an amazing boon to the language.
There are a few gotcha-edge cases, but they are of the kind that are obvious once you've encountered them once.
I already know a couple dozen functions in my projects that I'm going to refactor to a fraction of their current length and improve the readability of at the same time as soon as this lands.