Hacker News new | comments | show | ask | jobs | submit login

Aync codes like threaded codes are different from the simple sync code. These different style coding are there to take advantage of the concurrent benefit of the system. Developers with simple single flow control code background often complain about the extra flow control complexity when it's outside of their comfort zone. Think of it as a level up on your skill.

There are libraries out there that add syntactic sugar to make async code look like sync code. Like,

    group (
        asyncfunc1()
        asyncfunc2()
        asyncfunc3()
    )



I think my biggest gripe is that these things are only possible by using one of the many libraries or rolling your own solution. The rather disorganized state of the node.js libraries is far too confusing for most of us who don't do Node 24x7.


Agreed. The solution needs to be part of the language, or at least node itself, not a 3rd party library (or 10)




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: