News for hackers. Stuff that matters.
Re:CoffeeScript: less typing, bad readability by pistoriusp on Monday September 17, 2012 @02:34PM (#4534085)
CS 1.3.1:

"Conditional assignment of previously undefined variables a or= b is now considered a syntax error."

Re:CoffeeScript: less typing, bad readability by jaysoo on Monday September 17, 2012 @04:21PM (#4534661)
Yeah I know. It was just a quick example.

It's useful for something like:

  f = (options) ->
    options.foo or= 'bar'
    # ...