2 ms·
I agree with your points but I was talking in the context of node.js. Having await/async will make node.js programming infinitely better. Lots of programming t
by general_failure 12y ago
I agree with your points but I was talking in the context of node.js.
Having await/async will make node.js programming infinitely better. Lots of programming tasks in server side are really 'step' driven i.e doing a lot of things one by one. Of course, at this point someone will point me to 'async' and 'step' and 'q' modules but that's not the point.
- woah 12y agoGood point. No reason not to have tools in the toolbox for when you need them. You might be interested in https://github.com/Raynos/continuable https://github.com/Raynos/continuable for dealing with async, it is an extremely simple library that allows you to build up async ops step by step. When you call the resulting function, it runs all the steps in the order you defined them.