DEV Community

Discussion on: When is nesting good or neutral?

Collapse
 
aumayeung profile image
John Au-Yeung

The less nesting the better.

It's jist so hard to read deeply nested code.

And I think the whole point if Promises is to eliminate callback hell, which is deeply nesting callbacks.