Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like this syntax more: https://github.com/creationix/do


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: