3 ms·
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 (marginall
by euccastro 14y ago
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.