The solution to callback hell is not promises but generators. Being able to yield into functions is incredible.
@mwhooker never really gotten into Python. For JS I'm quite fond of co -- https://github.com/visionmedia/co
-
-
@yoshuawuyts@mwhooker well, that's sort of true, the actual answer is coroutines, but generators is what you discover after promises -
- 1 more reply
New conversation -
-
-
@yoshuawuyts Co is an excellent library. I do hope generators are implement quickly in all browsers. -
@jonkoops doesn't seem likely, IE hasn't even started yet. Till then we'll just have to rely on regenerator / traceur. - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.