Today I discovered python's new "match" - which other languages have as a case / switch

askpython.com/python/python-sw

I often don't like new python features as I see them as bloat, or see them as not designed to user experience in mind.

'match' seems pretty good and definitely an improvement over the old if /else if / else if / else if ..

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mathstodon.xyz/users/rzeta0/statuses/115970110675218124 on your instance and quote it. (Note that quoting is not supported in Mastodon.)