3 ms·
If you use reduce to replace looping, your coworkers probably hate you. Don't write Clojure in Python.
by laurent_du 3y ago
If you use reduce to replace looping, your coworkers probably hate you. Don't write Clojure in Python.
- corethree 3y agoIt's called functional programming. Coworkers don't hate it it's more readable in general to split between map and reduce and forego looping. It's less readable to use reduce for all looping even though technically you can.