News for hackers. Stuff that matters.
Re:A few things to remember while coding in Python by euccastro on Saturday May 19, 2012 @10:26PM (#3997731)
I think only familiarity with Javascript makes that "nice". One could argue that this

(lambda i: i%2 == 0).filter((lambda i: i/2).map(nums))

makes (marginally) more sense. But I like filter and lambda alright as they are. I agree Python's inconsistency in this is a bit unfortunate, but I haven't had much of a problem with the runtime errors you mention.

There are no comments on this comment yet.