PEP-308 a "simplicity-first" alternative

Erik Max Francis max at alcyone.com
Tue Feb 11 20:49:54 EST 2003


holger krekel wrote:

> Inspired by "do the simplest thing that can possibly work"
> i now think that
> 
>         x and y else z

If you're going to go this route, I'd much prefer not overloading the
meaning of `and' here, and using something like

	C then x else y

(which has been previously suggested).

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Being in love for real / It ain't like a movie screen
\__/ India Arie
    Bosskey.net: Aliens vs. Predator 2 / http://www.bosskey.net/avp2/
 A personal guide to Aliens vs. Predator 2.




More information about the Python-list mailing list