Hacker News new | ask | show | jobs
by grumpyprole 286 days 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.
2 comments

That's a lot of buzzwords to say that you enjoy shoving everything in one function. :)
In hindsight, I think your description is indeed better!
I 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.