News for hackers. Stuff that matters.
Re:CoffeeScript: less typing, bad readability by shardling on Monday September 17, 2012 @05:53PM (#4535098)
It's definitely nice to see the return at the beginning of the line -- makes the code easier to scan.

And anytime there's code after a return, it had better be connected to a conditional. :)

Re:CoffeeScript: less typing, bad readability by nemetroid on Monday September 17, 2012 @08:56PM (#4535715)
Those are good points. I'd probably make it multi-line:

    if badness
      throw 'error'
    
    unless goodness
      return null