DEV Community


Discussion on: Do you prefer callbacks, promises, or async/await?

andreidascalu profile image
Andrei Dascalu

Callbacks always leads to callback hell. If I start something and end up needing more than 3-4 asynchronous calls, I will always refactor to async/await if for some reason I start up with callbacks (it happens, particularly if I start from an example).