Python from Wise Guy's Viewpoint

Duncan Booth duncan at NOSPAMrcp.co.uk
Mon Oct 20 05:09:03 EDT 2003


mike420 at ziplip.com wrote in 
news:LVOAILABAJAFKMCPJ0F1IFP5N3JTNUL0EPMGKMDS at ziplip.com:

> 1. f(x,y,z) sucks. f x y z  would be much easier to type (see Haskell)
>    90% of the code is function applictions. Why not make it convenient?

What syntax do you propose to use for f(x(y,z)), or f(x(y(z))), or 
f(x,y(z)) or f(x(y),z) or f(x)(y)(z) or numerous other variants which are 
not currently ambiguous?

-- 
Duncan Booth                                             duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?




More information about the Python-list mailing list