DEV Community

Discussion on: Callbacks and Promises, Simply Explained

Collapse
 
masaeedu profile image
Asad Saeeduddin

Hi Ryland. Thanks for an interesting article. IMO, the bad rap callbacks is a little bit unjustified. Yes, the way they're usually used in APIs results in awkward ergonomics, but with a little bit of massaging callbacks can be a way more powerful and ergonomic tool than promises.

Check out this article if you're interested in a different approach to working with callbacks: dev.to/masaeedu/actually-callbacks... (disclaimer, I'm the author)