Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: