Month: 6 years ago

All Javascript NodeJS

Avoiding callback hell in Node.js

Callback hell is a phenomenon that afflicts a JavaScript developer when he tries to execute multiple asynchronous operations one after the other. Some people call it to be the pyramid of doom. Let’s have a look at an example of what we call callback hell. doSomething(param1, param2, function(err, paramx){     doMore(paramx, function(err, result){   […]

Rahil Shaikh