Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Tariq
@rzeta0@mathstodon.xyz  ·  activity timestamp 3 days ago

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

https://www.askpython.com/python/python-switch-case-statement

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 ..

#python

  • Copy link
  • Flag this post
  • Block
Log in

Bonfire Dinteg Labs

This is a bonfire demo instance for testing purposes. This is not a production site. There are no backups for now. Data, including profiles may be wiped without notice. No service or other guarantees expressed or implied.

Bonfire Dinteg Labs: About · Code of conduct · Privacy ·
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Code of Conduct
Home
Login