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

Me, a modern-day Galileo:

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


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

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

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