3 ms·
No it's not pleasant at all. It's boilerplate heavy, non-local and indirect. It's presumably a large part of why pattern matching is arriving in Python.
by grumpyprole 1y ago
No it's not pleasant at all. It's boilerplate heavy, non-local and indirect. It's presumably a large part of why pattern matching is arriving in Python.
- zem 1y agoI guess that's subjective - I'm as big a fan of pattern matching as anyone, but when I was writing a type checker in python we made heavy use of visitors and it made the code pleasant to maintain.
- flare_blitz 1y agoThat's a lot of buzzwords to say that you enjoy shoving everything in one function. :)
- grumpyprole 1y agoIn hindsight, I think your description is indeed better!