News for hackers. Stuff that matters.
Re:What Is the Switch-Case Equivalent in Python? by jsmeaton on Sunday April 04, 2021 @02:04AM (#26687267)
Appealing to nothing but the zen of python is not an acceptable argument.

Pattern matching is not (necessarily) extremely complex as it exists in a multitude of languages these days. Powerful does not automatically imply complex.

Re:What Is the Switch-Case Equivalent in Python? by earthboundkid on Sunday April 04, 2021 @09:53PM (#26694559)
Acceptable to whom?

Anyhow, read the PEP. It is an extremely complex new language feature.

Re:What Is the Switch-Case Equivalent in Python? by jsmeaton on Monday April 05, 2021 @06:38AM (#26697314)
To many in the core team, for one. It’s a cutesy easter egg at best not a mission statement.

I’ve read the pep. The nature of peps are complete by design. The concept is not overly complex especially since it exists in a number of other languages.