5 ms·
I wish V8 already had generators back when node.js started. It would've been a true solution to callback hell. There's libraries like async to help with that,
by cpprototypes 13y ago
I wish V8 already had generators back when node.js started. It would've been a true solution to callback hell. There's libraries like async to help with that, but it's not as good as something like tasks.js could be.
- recuter 13y agoBut on the other hand Twisted is not a panacea either, not that this is a perfect parallel or anything. But I agree, this is definitely a step in the right direction. I wonder if it will be feasible to code in JS Next and have a compiler step somehow take care of backporting. Probably not.