News for hackers. Stuff that matters.
Re:CoffeeScript: JavaScript without the Fail (slides) by bergie on Saturday September 10, 2011 @04:22AM (#2981153)
I've started preferring returning early instead of if-else. So:

  _getWords: ->
     return @words if @words.length
     # the other case of the method
this approach makes the code read almost like English.

There are no comments on this comment yet.