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.
-
-
I think #2 is more readable if you're used to seeing .some a whole lot. A .some or .every sets the context in my brain for what to expect next which saves a bit of mental effort in understanding the rest of the code. "Readability" is half familiarity and half personal preference.
- 3 more replies
New conversation -
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.
he/him 
