2 Comments
User's avatar
Fran Soto's avatar

Nice one, Stef!

Promises make the code much more readable than only relying in callbacks. It's easy otherwise to have callback hell in your code http://callbackhell.com/

Expand full comment
Stefania Barabas 🐾's avatar

Thanks, Fran! 🙏

Totally agree about promises. The source you've mentioned has a good example of what we are trying to avoid. Nice one! 😊

Expand full comment