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

There is no callback hell if you're using promises correctly. While await is the best option, plain promises are pleasant to work with as well. Could you paste an example of how do you use them? If you're actually using them wrong, I'll gladly show you how to do it right.


Think he was trying to say that he likes neither callback hell nor promises


Oh, I didn't get that. If that's the case, I'm sorry for misunderstanding.




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

Search: