Eveybody who works with NodeJS knows the callback hell.
They can be partially overcome with Promises, but promises make very simple functions very complex and ugly because of adding a lot of overhead to them.
Finally there are some third-party implementations of the C#-like async/await in NodeJS (such as asyncawait or nodent).
Is it a 'good practice' to use them? I mean, doesn't that go directly against the logic, performance and security of NodeJS?
via adamsfamily
No comments:
Post a Comment