News for hackers. Stuff that matters.
Re:Conway's Game of Life in CoffeeScript by jashkenas on Tuesday May 17, 2011 @07:47AM (#2556063)
@amirshim:

Yes, range comprehensions were recently optimized to remove direction-checking when possible. On CoffeeScript master ...

    x for x in [-10..10]
... compiles into:

    var x;
    for (x = -10; x <= 10; x++) {
      x;
    }
Even if the start/end values are variables, the check can be avoided by specifying the step as a number. It'll go out with the next release.
Re:Conway's Game of Life in CoffeeScript by amirshim on Tuesday May 17, 2011 @11:18AM (#2556596)
great!