2 ms·
I would agree. I've found, in my own code at least, that callback hell only happens with code that is not modular enough. If you separate your logic out into sm
by woah 13y ago
I would agree. I've found, in my own code at least, that callback hell only happens with code that is not modular enough. If you separate your logic out into small self-contained modules that do one thing, they never get too deep. Promises allow you to have monolithic code that's not superficially ugly.