[BangPypers] Interesting Read

Anand Balachandran Pillai abpillai at gmail.com
Sun Jan 31 11:54:41 CET 2010


On Sun, Jan 31, 2010 at 8:18 AM, Sreekanth B <gnuyoga at gmail.com> wrote:

> hi
>
> On Sun, Jan 31, 2010 at 12:45 AM, Ramdas S <ramdaz at gmail.com> wrote:
>
> > http://gist.github.com/289467
>
> good one, i liked the enterprise programmer one :D
>
>
There are these lambda forms also,

>>> fact = lambda n: reduce(lambda x,y: x*y, range(1, n+1))
>>> fact(5)
120

What I liked best was the enterprise one. Best example of
how "enterprise architects" make simple things sound
and look complicated ;)



> - sree
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
--Anand


More information about the BangPypers mailing list