I should know better than to touch a flame post, but, but here goes: <flame> don't use anything but python. They are nightmare languages, sloppy, and force you to format the code by inserting semantically redundant brackets and semicolons in a specific way rather than dispensing these redundancies altogether </flame>
On Jan 24, 2012, at 1:59 AM, Tim Gruene wrote: > [flame=;-)] > P.S.: don't use python. It's a nightmare language, sloppy, it forces you > to format the code in a specific way rather than your own way and ... > [/flame] Also, if you use python and you want to format your code in your own way, you should learn about python's "I don't care if anyone, including me, can read my code" parenthetical construct: print "\n".join((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y, Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,Sy=Sy,L=lambda yc,Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,i=IM, Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro, i=i,Sx=Sx,F=lambda xc,yc,x,y,k,f=lambda xc,yc,x,y,k,f:(k<=0)or (x*x+y*y >=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr( 64+F(Ru+x*(Ro-Ru)/Sx,yc,0,0,i)),range(Sx))):L(Iu+y*(Io-Iu)/Sy),range(Sy ))))(-2.1, 0.7, -1.2, 1.2, 30, 60, 24)[i*60:(i+1)*60] for i in xrange(24)) (adapted from http://effbot.org/pyfaq/is-it-possible-to-write-obfuscated-one-liners-in-python.htm) James