3 ms·
I like this syntax more: https://github.com/creationix/do https://github.com/creationix/do
by liuliu 16y ago
I like this syntax more: https://github.com/creationix/do https://github.com/creationix/do
- moe 16y agoI like neither. They're still riddled with boilerplate (anonymous functions) and are quite horrible to read and write (bracket nesting). I sometimes wish node.js (and js in general) would adopt co-routines. They'd seem to be the perfect middle-ground here; async code that looks almost like threaded-code, and no more callback-hell.