Re:Await and Defer in Coffeescript core
by DanielRibeiro on Saturday December 17, 2011 @08:29PM
(#3365600)
Thanks for the last link[1]. It is pretty amazing. I've studied some Scheme and call/cc on college (and played around with it on Ruby), but this post made me realize how much more powerful can continuations be (besides doing basic control flow/exception stuff).
A post that stands on its own, whether you like/care about Coffeescript/Javascript or not.
[1] http://gfxmonk.net/2010/07/04/defer-taming-asynchronous-java...
Re:Await and Defer in Coffeescript core
by KeithMajhor on Sunday December 18, 2011 @12:28AM
(#3366019)
Dude you are awesome. I used to think splats and destructuring were what made CoffeeScript more than just pretty Javascript. But this new stuff is doing even more substantive work on our behalves. Thank you.
And the history of a previous attempt at doing something similar:
https://github.com/jashkenas/coffee-script/issues/241
https://github.com/jashkenas/coffee-script/issues/287
https://github.com/jashkenas/coffee-script/issues/350
http://gfxmonk.net/2010/07/04/defer-taming-asynchronous-java...