DEV Community

loading...

Discussion on: Pattern Matching in Python

Collapse
mortoray profile image
edA‑qa mort‑ora‑y

" this takes away the readability a bit"

No, it improve readability. It introduces a syntax pattern that better represents the semantics of what you're trying to achieve.