Re:Stop writing For loops. Start using underscore.
by declandewet on Thursday February 06, 2014 @03:43AM
(#7189345)
Agreed. Plus, underscore's implementations are not as fast as their native equivalents. At least use lodash if you're going to be using an entire library, as it is faster. Otherwise, you could just use the .reduce, .forEach, and .map constructs that are built into JavaScript (of course browser support is an issue there - but they are available for use in most modern browsers and definitely in node)
[ Parent
| on HN ]
There are no comments on this comment yet.