News for hackers. Stuff that matters.
Re:CoffeeScript: less typing, bad readability by aes on Tuesday September 18, 2012 @02:01AM (#4536599)
If may be strange because of the asymmetry but I'd actually prefer `if` to be come first all the time and `unless` to come last all the time - precisely because `unless` reads like it's for exceptional circumstances:

  value = cache[key]
  if value?
    return value

  return file.readContents() unless not file.exists()

There are no comments on this comment yet.