News for hackers. Stuff that matters.
Re:What's so great about JavaScript Promises? by MatthewPhillips on Tuesday January 29, 2013 @01:57PM (#5135578)
C# rewrites that function for you. Iced CoffeeScript exists largely for this reason: http://maxtaco.github.com/coffee-script/
Re:What's so great about JavaScript Promises? by crazygringo on Tuesday January 29, 2013 @02:10PM (#5135644)
Also, if you don't want to use CoffeeScript, their prior version adds await to straight JavaScript: http://tamejs.org/
Re:What's so great about JavaScript Promises? by davedx on Tuesday January 29, 2013 @03:20PM (#5136006)
Looks like how AndroidAnnotations breaks down AsyncTasks into simple methods using @Background and @UiThread. I love that so much.