Sign in
Log inSign up
Tapas Adhikary

56 comments

Savio Martin
Savio Martin
Jul 31, 2021

This is a gem πŸ’Ž, I'm impressed by the quality of this article. How well are you explaining, I have a lot to learn from you bro. Its super awesome you connect real life stories with the JavaScript concepts and gave a very meaningful output. The table where you distinguish both also became useful.

Wow, Appreciate your hard-work behind this masterpiece Tapas Adhikary. Can't wait for the more awesome articles in this series πŸ™Œ

13
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Thanks a lot, Savio. Means a lot. I'm surely going to work hard on the rest of the series to make it easygoing πŸ˜€

Β·
Victoria Lo
Victoria Lo
Aug 1, 2021

I have expressed how much I loved this article on Twitter but I'll do it again here! Well done! A very creative and original article that the one and only Tapas can write!!

10
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 1, 2021

Thank you 🀩. No words...

Β·
Apoorv Tyagi
Apoorv Tyagi
Jul 31, 2021

Amazing article Tapas Adhikary. This is probably the easiest way someone has explained promises.

6
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Yay, thank you Apoorv. Please feel free to share it in your circle. Someone may find it useful πŸ˜€.

Β·
Neha Soni
Neha Soni
Aug 1, 2021

This article explains everything like as for 5 years old. This is super helpful!! Exactly for meπŸ˜‰πŸ˜… Thank you for sharing!

6
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 1, 2021

Thanks a lot, Neha. I'm very glad, you found it helpful.

Β·
Idris Olubisi
Idris Olubisi
Aug 1, 2021

This is pretty interesting Tapas.. I have learnt a lot, ranging from article structure, real world explanation and analysis πŸ‘ thank you for sharing ☺

6
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 1, 2021

Thanks a lot, Sir. I'm very happy to hear that πŸ™‚

Β·
Nyareh David
Nyareh David
Jul 31, 2021

I have a question. Do I need to use async/await?

5
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Nyareh David, it is a great question.

The short answer is: Yes. The async/await syntax is dramatically easier than a long chain with promise. If it is in your hands, with async/await, you may seldom use the .then(), .cacth() methods.

But, we need to keep in mind that they are based on JavaScript promises. There are also great use cases of them working together. Promise.all() is a classic example. Lastly, take my interview warning at the beginning of this article.

Longer answer: I am preparing the content around it. Especially the usages of each and both together. You will find them published on my blog as part of this series and Youtube Channel in a few weeks. Stay Tuned.

Have a great day!

20
Β·
Ayodele Samuel Adebayo
Ayodele Samuel Adebayo
Aug 1, 2021

wow Tapas Adhikary, this is the best explanation I have come across on JS promise ever.

Looking forward to more of this sir.

Keep setting the pace.

5
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 1, 2021

Thank you very much. Surely.. The next one is on it's way πŸš€

Β·
Favourite Jome
Favourite Jome
Aug 14, 2021

Best explanation ever 🀩, with the story it was very easy to understand!

5
Β·
Β·2 replies
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 14, 2021

Thanks, Favourite πŸ˜ƒ.

1
Β·
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 14, 2021

Thanks, Favourite πŸ˜ƒ.

1
Β·
Pascal Akunne
Pascal Akunne
Aug 1, 2021

This is superb! JavaScript Promise has never been this clear.. I felt like I was really five πŸ˜… I love the analogy you used man.. Looking forward to the next article πŸ‘

4
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 2, 2021

Sure man. Thank you very much. Glad, you found it helpful.

Β·
Chandrakanth
Chandrakanth
Aug 2, 2021

Incredible. The way you explain things makes the concept much more fun and easy to learn.

4
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 2, 2021

Thank you very much... Means A lot to me πŸ™

Β·
Eleftheria Batsou
Eleftheria Batsou
Aug 2, 2021

Excellent article Tapas Adhikary!

I love this new series of yours.

4
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 2, 2021

Thank you πŸ™‚.

Β·
Masoom Kumar
Masoom Kumar
Aug 3, 2021

Love the explanations after the code examples. Can't wait for more in this series. Thanks Tapas Adhikary this is amazing.

4
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 3, 2021

Thank you very much Masoom Kumar

Β·
Eslam Ahmed
Eslam Ahmed
Aug 24, 2021

It can't be more clear, Great article and wonderful explanation

4
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 25, 2021

Thank you for the feedback...πŸ‘πŸ‘πŸ‘

4
Β·
Siddhi Gate
Siddhi Gate
Jul 31, 2021

That's the article I needed! Very well explained. Thank you!

3
Β·
Β·2 replies
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Great, thanks a lot Siddhi Gate. I'm glad. I'll try to make the remaining of the series informative and fun too.

2
Β·
Siddhi Gate
Siddhi Gate
Jul 31, 2021

Looking forward to it πŸ™ŒπŸ™Œ

1
Β·
Ashik Varma
Ashik Varma
Jul 31, 2021

Awesome explaination! Thanks for sharing.

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Thank you, Ashik πŸ™‚, for reading. Very glad.

Β·
Yogesh Chavan
Yogesh Chavan
Jul 31, 2021

Great explanation of Promises Tapas Adhikary.❀️

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Thank you, Yogesh πŸ™‚πŸ™‚

Β·
Rajat Srivastava
Rajat Srivastava
Jul 31, 2021

Special work done here.. πŸ‘πŸ‘

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Thank you very much for recognizing it. Much appreciate 🀩.

Β·
Subha Chanda
Subha Chanda
Jul 31, 2021

Loved the explanation! ❀️Bookmarked the post. I'll come back to it whenever I need a refresher.

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Jul 31, 2021

Thank you, sir πŸ™

1
Β·
Laughing Dev
Laughing Dev
Aug 1, 2021

Wow Tapas Adhikary! I love this one 😍😍 Your examples are awesome πŸ‘πŸ‘

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 1, 2021

Yayy, thanks a lot πŸ™

Β·
Vansh Sharma
Vansh Sharma
Aug 2, 2021

Thanks man πŸ™πŸ™. I read whole blog without realising I was reading in light mode ( blog was interesting and easy to understand). Great work πŸ‘πŸ‘

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 3, 2021

Thanks Vansh Sharma

Β·
Suhail Kakar
Suhail Kakar
Aug 3, 2021

Best explanation ever πŸ”₯

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 3, 2021

Thanks Suhail Kakar, Glad you liked it.

1
Β·
Yash Tiwari
Yash Tiwari
Aug 6, 2021

Extremely beautiful and well-explained article on JavaScript πŸ‘Œβœ¨

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 7, 2021

Thank you, Yash.

1
Β·
Adarsh Thakur
Adarsh Thakur
Aug 8, 2021

Really Impressing the way you explained, this is the easiest explanation and demonstration of promises(JS) I have read.

Thanks for Sharing.

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 8, 2021

Thanks a lot, Adarsh.

Β·
Anirudh Panda
Anirudh Panda
Aug 14, 2021

A very helpful and creative way to explain! Thank you

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 14, 2021

I'm glad you liked it.

Β·
Arwa Abdulalim
Arwa Abdulalim
Aug 20, 2021

AMAZING .. many thanks.

3
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Aug 21, 2021

You are welcome, Arwa Abdulalim

Β·
Andrew
Andrew
Oct 19, 2023

Amazing article of a tough subject. Thank you.

Would you mind discussing the resolve and reject callbacks in the executor function? I am having a tough time figuring out exactly what these methods do. Many examples just pass a string into them and it makes them feel like a glorified console.log() function.

Could you explain what is going on under the hood? It would be greatly appreciated. Either way, thank you for the article.

2
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Oct 21, 2023

Thanks a lot, Andrew.

Could you please check this one? I have explain it in a greater details here:

JavaScript Synchronous vs. Asynchronous | Promises | Asynchronous Programming | Task and Job Queue

youtu.be/pIjfzjsoVw4

Β·
Tejas Khanolkar
Tejas Khanolkar
Dec 25, 2023

good explanation sir...

1
Β·
Β·1 reply
Tapas Adhikary
Tapas Adhikary
Author
Β·Dec 28, 2023

Thanks!

Β·