News for hackers. Stuff that matters.
Re:What Is the Switch-Case Equivalent in Python? by Redoubts on Sunday April 04, 2021 @09:03AM (#26689103)
> the red/blue function trap

What should have been done here?

Re:What Is the Switch-Case Equivalent in Python? by otabdeveloper4 on Monday April 05, 2021 @07:38AM (#26697730)
Python doesn't need a special keyword to distinguish functions that 'yield' from those that don't. Why should async functions be different?