Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 968 Bytes

File metadata and controls

23 lines (14 loc) · 968 Bytes

Promises instead of Callbacks

j.mp/usePromiseInsteadOfCallbacks - Unless you know how to code Callbacks in Javascript,
you have not understood the language enough... and then you have Promises! (one of my favourite P words!)

https://medium.com/@bluepnume/even-with-async-await-you-probably-still-need-promises-9b259854c161

Existing abstractions using Promises - https://github.com/kgisl/promise-fun

MasterClass on Callbacks

kgisl/A-Tale-Of-Three-ListsA-Tale-Of-Three-Lists

https://github.com/kgisl/A-Tale-Of-Three-Lists - attempt a master class on this.

https://github.com/getify/A-Tale-Of-Three-Lists/issues - there are some suggestions on how the repo can be improved for better understanding.

Eliminating CallBack Hell!

https://apiumhub.com/tech-blog-barcelona/javascript-callback/

In this article, we take a look at the shortcomings of async and promise libraries in Node.js, and what you can do to improve the quality of JS in your app.