Yeah, I think the author focused a bit too much on structural pattern matching being a replacement/alternative for if...elif blocks.
It will be much more useful as an alternative to dispatch dictionaries, which are more a side-effect of the language lacking any case based control-flow.
It will be much more useful as an alternative to dispatch dictionaries, which are more a side-effect of the language lacking any case based control-flow.