News for hackers. Stuff that matters.
Re:JS 2 CoffeeScript Compiler by Groxx on Wednesday September 14, 2011 @12:11PM (#2996765)
I tend to like it if the left-hand-side is overwhelmingly the default code-path, or to keep all assignments aligned (ones with caveats then stick out like a sore thumb).

How do you feel then about things like this?

  variable = if something
      val
    else
      another_val
    end
(insert your personal indentation choice, of course)
Re:JS 2 CoffeeScript Compiler by aaronblohowiak on Wednesday September 14, 2011 @01:35PM (#2997112)
This does not cause any "backtracking" when tracing the code execution with the gray interpreter.
Re:JS 2 CoffeeScript Compiler by Groxx on Wednesday September 14, 2011 @04:30PM (#2997759)
>'with the gray interpreter'

sorry, ya lost me there. Are you referring to a language interpreter? In that case, which one?

The only difference I can see for interpreters is that it necessitates parsing the entire line before acting, which all but the most highly-tuned (and designed for this purpose) interpreted-languages probably already do.

Re:JS 2 CoffeeScript Compiler by damncabbage on Thursday September 15, 2011 @10:19AM (#3000429)
I'm guessing that he's referring to his brain.
Re:JS 2 CoffeeScript Compiler by Groxx on Thursday September 15, 2011 @10:39PM (#3002981)
Ahahaha, of course, that makes sense. Thanks, I may have to wake up the hamster in mine :)