Tagged articles
2 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Aug 19, 2025 · Backend Development

From Callbacks to Promises: Solving Callback Hell with Async Patterns

The article explains how early thread‑blocking models led to the invention of callbacks, why deeply nested callbacks create "callback hell," and how promises/futures and their chaining, as well as coroutines, provide more linear and efficient asynchronous programming for high‑concurrency backend services.

Callbacksasynchronous programmingcallback hell
0 likes · 6 min read
From Callbacks to Promises: Solving Callback Hell with Async Patterns
Node Underground
Node Underground
Jan 18, 2017 · Frontend Development

Mastering Asynchronous JavaScript: From Callbacks to Async/Await

This article explores practical ways to handle asynchronous operations in JavaScript, comparing callbacks, async.js, promises, generators, and async/await, and demonstrates how refactoring code can eliminate callback hell and improve readability for both client‑side and server‑side development.

Asynchronousasync/awaitcallback hell
0 likes · 2 min read
Mastering Asynchronous JavaScript: From Callbacks to Async/Await