Re:Stop writing For loops. Start using underscore.
by paulmcpazzi on Thursday February 06, 2014 @06:06AM
(#7189753)
I don't like using underscore or lodash for methods that are parts of the EcmaScript specifications. I prefer using native methods (i.e. `forEach`, `map`, etc..) and including a JS shim (like https://github.com/es-shims/es5-shim) to monkey-patch legacy browsers.
And I know that these are just examples, but what is the point of writing:
And I know that these are just examples, but what is the point of writing:
when you can simply write: