News for hackers. Stuff that matters.
Re:Show HN: Array – A Better Python List by orf on Sunday January 10, 2021 @09:14AM (#25714774)
> all(map(func3, filter(func2, map(func1, zip(a, b)))))

You definitely wouldn’t do this in “traditional Python”. You’d use a comprehension of some kind, or even the walrus operator, which is quite possibly faster and more readable than several chained lambdas.

Re:Show HN: Array – A Better Python List by lauriat on Sunday January 10, 2021 @09:56AM (#25715159)
Fair enough, the example is a bit exaggerated. You could implement it with comprehensions

  all(func3(y) for y in (func1(x) for x in zip(a, b)) if func2(y))
It most likely is a bit faster, but I wouldn't say it's more readable.