[Python-ideas] If branch merging

Ben Finney ben+python at benfinney.id.au
Sun Jun 7 06:17:36 CEST 2015

Cory Beutler <cgbeutler at gmail.com> writes:

> This would simplify some logic expressions by allowing the merging of
> branched code.

I don't think you've made the case for that assertion. Your description
is clear, but I can't see how real code would be simplified.

I would like to see some real examples of code that is using existing
syntax, and your proposed syntax, so the merits can be discussed in

Can you provide some real-world code examples, that you believe would be
improved by this change?

 \         “All my life I've had one dream: to achieve my many goals.” |
  `\                                            —Homer, _The Simpsons_ |
_o__)                                                                  |
Ben Finney

More information about the Python-ideas mailing list