News for hackers. Stuff that matters.
Re:JS 2 CoffeeScript Compiler by baddox on Wednesday September 14, 2011 @02:06PM (#2997257)
The traditional alternative also puts your returns at the beginnings of lines. It just uses a lot more lines.

    if (!err) {
      return x;
    }
    if (condition) {
      return y;
    }
    ...
Re:JS 2 CoffeeScript Compiler by ww520 on Thursday September 15, 2011 @12:36AM (#2998931)
Not if you do

    if (!err)       return x;
    if (condition)  return y;