PEP-308 a "simplicity-first" alternative

sismex01 at hebmex.com sismex01 at hebmex.com
Tue Feb 11 20:37:23 CET 2003


> From: holger krekel [mailto:pyth at devel.trillke.net]
> Sent: Tuesday, February 11, 2003 1:32 PM
> 
> [... snip ...]
> Inspired by "do the simplest thing that can possibly work"
> i now think that 
> 
>         x and y else z
> 
> [... snip ...]

wow... beautiful... simple... clean.

It's even better than "A if <cond> else B".

I like it. :-)

-gustavo





More information about the Python-list mailing list