PEP-308 a "simplicity-first" alternative

Nick Vargish nav at adams.patriot.net
Wed Feb 12 05:01:20 CET 2003


holger krekel <pyth at devel.trillke.net> writes:

> Also it's nice that if you discover you don't need an else-part 
> anymore you can just delete it.  With the other proposals you have 
> to rewrite your expression - using another idiom.  

Okay, this is indeed elegant. I'm in the and/else camp now, despite
having come out for 'then/else' originally.

Nick

-- 
#include<stdio.h> /* SigMask 0.3 (sig.c) 19990429 PUBLIC DOMAIN "Compile Me" */
int main(c,v)char *v;{return !c?putchar(*v-1)&&main(0,v+ /* Tweaks welcomed. */
1):main(0,"Ojdl!Wbshjti!=obwAqbusjpu/ofu?\v\1");}  /* build: cc -o sig sig.c */




More information about the Python-list mailing list