News for hackers. Stuff that matters.
Re:Lodash v3.0.0 by bsimpson on Tuesday January 27, 2015 @10:55AM (#8953678)
I dig laziness, but why is `forEach` lazy? That's the only one that invokes immediately in libraries like Lazy.js.
Re:Lodash v3.0.0 by quadratini on Tuesday January 27, 2015 @11:04AM (#8953753)
It's only lazy if it's part of a chain
Re:Lodash v3.0.0 by jdd on Tuesday January 27, 2015 @04:58PM (#8956291)
Chaining is deferred until `value()` is implicitly or explicitly called. However shortcut fusion does not apply to `forEach`.