3 ms·
>It doesn't have Promise support That's a feature. https://medium.com/@b.essiambre/continuation-passing-style-patterns-for-javascript-5528449d3070?source=frien
by BenoitEssiambre 7y ago
>It doesn't have Promise support
That's a feature. https://medium.com/@b.essiambre/continuation-passing-style-patterns-for-javascript-5528449d3070?source=friends_link&sk=976fb25ca6c15eba3a4badcf55ba698e https://medium.com/@b.essiambre/continuation-passing-style-p...
- hombre_fatal 7y agoWhile this isn't really the place to discuss this, that your most complex example is a simple waterfall of three nested async functions doesn't do much to sell the superiority. Start mixing in conditional async calls with downstream async branching. And look at the Promise-based solutions to async.js (https://caolan.github.io/async/v3/ https://caolan.github.io/async/v3/), a library nobody misses. Still not sure if your blog post is a joke or not though, frankly. If it's a serious post, then it seems troll-y to inject such a fringe opinion any time someone casually mentions promises being good.
- mekster 7y agoWhat's wrong with, https://github.com/request/request-promise-native https://github.com/request/request-promise-native