News for hackers. Stuff that matters.
Re:Zed finishes Learn Python The Hard Way by illumen on Thursday September 30, 2010 @06:54AM (#1742864)
If you're not teaching pythons functional concepts, then you're not teaching python.

However I think you have accidentally... consider this short example which shows off first class functions, map, reduce, no side effects, and filtering.

  [(lambda a,b,p:(a+p,b+p))(x,y,2) for x in (1,4) for y in (10,15,22) if x*y > 25]
Python does functional programming without people even knowing that it is functional programming :)

There are no comments on this comment yet.