News for hackers. Stuff that matters.
Re:JavaScript for People Who Hate JavaScript by TomMarius on Wednesday August 09, 2017 @05:22AM (#14966865)
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.
Re:JavaScript for People Who Hate JavaScript by bpicolo on Wednesday August 09, 2017 @08:58AM (#14968204)
Think he was trying to say that he likes neither callback hell nor promises
Re:JavaScript for People Who Hate JavaScript by TomMarius on Wednesday August 09, 2017 @09:06AM (#14968302)
Oh, I didn't get that. If that's the case, I'm sorry for misunderstanding.