|
|
|
|
|
by masklinn
4862 days ago
|
|
> I don't really see where you're getting at as far as substitutes for 'reduce' are concerned. Reduce simply isn't used much in Python code, as a product of both culture and rather lacking lambdas. It's used so little (pretty much the only "usual use case" is covered by `sum`) it's been moved out of the builtins and to the functools module in Python 3 (whereas `map` and `filter` have remained) |
|