1
crisz
6y

There is a question on StackOverflow, its name is "How do I return the response from an asynchronous call?". I think that everyone knows it. Well, I can easily guess that half of javascript questions on the website are marked as duplicated and linked to this question.

For a moment, let's identify with the people that spend hours on StackOverflow to read all the questions and try to answer to most of them. How stressing and annoying can be repeating the same single thing 50 times a day?

Well, we should take this in account before blaming SO for being rude or before saying that JavaScript sucks without even knowing how to fucking listen to the response on an asynchronous request

Comments
  • 2
    @irene I think you can't do that. Links to external resources are fine, but answer should still be valid even when that external resource goes offline.
  • 0
    In C# it’s Yield, in JS the keyword is await.
  • 0
    @bkwilliams no. I'm a big fan of async/await, but that's not a solution. async/await are just syntactical sugar for promises and generators that makes your code cleaner and with less indentation, but if you use them without knowing how async javascript works, then it's a total mess!
Add Comment