TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Demystifying Async Programming in JavaScript

59 pointsby jasonmooabout 8 years ago

2 comments

ng12about 8 years ago
Am I wrong in feeling that callback hell is a symptom of bad design? In what scenario are you making four server requests before you can do something on a webpage?<p>I like async&#x2F;await more for it&#x27;s brevity than utility.
评论 #13944477 未加载
评论 #13947195 未加载
评论 #13948948 未加载
评论 #13944049 未加载
jasonmooabout 8 years ago
It&#x27;s interesting I think having an understanding of the history of javascript concurrency is almost a prerequisite to using it correctly. I wonder how new people approaching the language for the first time find it.
评论 #13942919 未加载
评论 #13944920 未加载