News for hackers. Stuff that matters.
Re:Announcing CoffeeScript 2 by syntheticcdo on Monday September 18, 2017 @11:00PM (#15281460)
I work with a 100% CS code base and lodash chains are a dream working in CS as opposed to vanilla JS, something like:

  capitalStringsWithX = _.chain array
    .map (item) -> item.toUpperCase()
    .filter (item) -> item.includes "X"
    .value()
as opposed to:

  var capitalStringsWithX = _.chain(array)
    .map(function(item) { return item.toUpperCase(); })
    .filter(function(item) { return item.includes("X"); })
    .value();

There are no comments on this comment yet.