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

Promises solve callback hell. Async await makes it even cleaner.

I think the way author is explaining is weird. It's very hard to follow logic when functions are declared all over the place.



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

Search: