99% of the time I see usage of Array.prototype.some and Array.prototype.reduce, it would have been much more readable with a manual loop.
-
Show this thread
-
This is the example that prompted the tweet. #1 is way more readable to me, do others agree? All the usage I've seen has been similar in readability to this.pic.twitter.com/OVEfJCHQyI
56 replies 4 retweets 97 likesShow this thread
Replying to @sebmck
Strong disagree, but I think the fact that `some` is a poor name has a lot to do with the difference of opinion. Most langs call it any which helps a lot imo
11:41 AM - 4 Jul 2018
from Grapevine, TX
0 replies
0 retweets
17 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.