News for hackers. Stuff that matters.
Re:ToffeeScript – CoffeeScript with async syntax and some ad... by stewbrew on Saturday October 26, 2013 @01:38PM (#6618293)
Is there something similar (i.e. syntactic sugar/macros for defining callbacks that provide similar functionality) for "plain" javascript as base language?
Re:ToffeeScript – CoffeeScript with async syntax and some ad... by gfxmonk on Saturday October 26, 2013 @06:53PM (#6619789)
StratfiedJS (http://onilabs.com/stratifiedjs) does this and more[0]. It's more heavyweight than a set of macros, but we believe the features warrant that.

[0] including a module system, fork-join parallelism, try/catch and stacktrace support even for async code.

(disclaimer: I joined Oni Labs to work on SJS, after struggling with my own coffeescript fork for 6 months)

Re:ToffeeScript – CoffeeScript with async syntax and some ad... by omphalos on Saturday October 26, 2013 @05:45PM (#6619538)