Tom Ritchford
Apr 19, 2023

--

There is no need for map, filter or reduce in Python, and Guido wanted to eliminate them in Python 3: you can see him talking about it here. The trouble is that reduce is hard to reason about.

Comprehensions, and now the := “walrus” operator, make them unnecessary.

I clapped, though, all these ingenious solutions.

--

--

Responses (1)