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

In my experience, whenever you having trouble with callbacks/promises - it is time to refractor your code. Essentially, this JavaScript nature force you to write code with more code blocks, which is in the end very beneficial to testing.


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

Search: