News for hackers. Stuff that matters.
Re:Escape from Callback Hell: Callbacks are the modern goto by Sephr on Friday November 02, 2012 @02:08PM (#4733953)
One way to escape callback hell is to use a async.js (https://github.com/eligrey/async.js), which uses yield to abstract away callbacks. It's Firefox-only (JS 1.7+) though, but that can probably be resolved by using a JS parser and replacing every yield with JS 1.5 callbacks.

Full disclosure: I wrote async.js.

Re:Escape from Callback Hell: Callbacks are the modern goto by nickporter on Friday November 02, 2012 @02:17PM (#4734000)
There's also this library: https://github.com/caolan/async
Re:Escape from Callback Hell: Callbacks are the modern goto by Sephr on Friday November 02, 2012 @02:27PM (#4734044)
That library uses callbacks and isn't really related other than the name. I don't think that the author googled async.js to see if the library name was already taken.
Re:Escape from Callback Hell: Callbacks are the modern goto by jonpacker on Friday November 02, 2012 @03:49PM (#4734418)
I think it's more likely he found it was not taken on npm so he took it. Async is, these days, one of the most popular libs on npm.
Re:Escape from Callback Hell: Callbacks are the modern goto by tlrobinson on Friday November 02, 2012 @06:23PM (#4735064)
https://github.com/caolan/async: 3293 stars on Github

https://github.com/eligrey/async.js: 15 stars on Github

Sorry, you lost this one.

Re:Escape from Callback Hell: Callbacks are the modern goto by Sephr on Friday November 02, 2012 @07:56PM (#4735354)
Sorry, but what do stars have to do with it? That's like saying DuckDuckGo should be allowed to rename itself as Google if they become more popular than Google. https://github.com/caolan/async had zero stars (i.e. didn't exist) back when I released async.js.
Re:Escape from Callback Hell: Callbacks are the modern goto by tlrobinson on Friday November 02, 2012 @08:23PM (#4735427)
I'm just saying you're going to have a hard time convincing everyone that your project is the "async" JavaScript library. I presume you don't plan on suing them for trademark infringement.

It's annoying (it's happened to me too) but I don't think there's much you can do about it. Especially when the name is incredibly generic.