Re:The unknown features of Python's `operator` module
by slaymaker1907 on Sunday August 08, 2021 @03:36PM
(#28109429)
I honestly think reduce is way more confusing to read than comprehensions or even just a plain for loop, even as someone who has done a lot of functional programming.
[ Parent
| on HN ]
Re:The unknown features of Python's `operator` module
by klyrs on Sunday August 08, 2021 @07:46PM
(#28111267)
If reduce is the outermost function, I might agree. I do prefer the explicitness of foldl and foldr, personally. But, this is the problem with simple examples. Folks just can't help but nitpick every damned thing. Are we adding value to the conversation about the operator module?