`match/case` looks absolutely fine to me. What's the problem?
`try/except` is definitely weird, though.