You, a coward: Python doesn't have a switch statement

Me, a modern-day Galileo:

@christianp
very nice! could be done with metaclasses to have pretty syntax like `Case.First` and `Case.Second`

Follow

@kilomeow where would you say what each case corresponds to?

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!