All code using array.reduce should be rewritten without array.reduce so it's readable by humans *mutes thread*
-
Show this thread
-
Ok ok, fair enough, there are cases where array.reduce is the best thing to use. Specifically, cases where you want to look really smart and don't care about readability.
11 replies 40 retweets 456 likesShow this thread -
Replying to @jaffathecake
Bad practice to use reduce for side effects and ignore the return value...
5:13 AM - 3 Jan 2020
0 replies
0 retweets
23 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.