11 Feb
2014
11 Feb
'14
3:25 p.m.
On Wed, Feb 12, 2014 at 2:22 AM, Ryan Gonzalez <rymg19@gmail.com> wrote:
It looks cooler. It also feels slightly less aggravating.
On Mon, Feb 10, 2014 at 5:29 PM, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
Sturla Molden wrote:
I've noticed that PyExt has a switch statement implemented as a context manager.
with switch(foobar): if case(1): pass if case(2): pass
What advantage does this have over an if-else chain?
Since it fundamentally _is_ an if chain (without the elses), how does it feel less aggravating than one? ChrisA