Whats the Difference Between Callbacks and Promises?

preview_player
Показать описание
In this video we are gonna take a look at what promises are, what callbacks are, and how they differ from each other in JavaScript.

If you feel like you got some value out of this video, please drop a like! It really helps the channel :)

---SUPPORT THE CHANNEL---
If you would like to support the channel you can use the below link.
I would like to stress that while it would be greatly appreciated, in no way is this required!
Рекомендации по теме
Комментарии
Автор

really nice job, you are the first guy on youtube that I don't need to put on 1.5x

joaomonteiro
Автор

absolute best explanation of promises and i’ve seen a dozen

joshk
Автор

You really do have great content. It's a shame you have so few subscribers and views, but I'm sure you'll get more. Just keep up the awesome work!
Really love your interview question videos. I thin you make videos on good and important topics

vakhtangnodadze
Автор

Dude your example made me clear after a lot of videos. Thanks✌🏼

naveennirban
Автор

If I got a profesor like you in my back studies, I surely became a CTO at Google.

Clearly explained. Thanks

rishisoni
Автор

The best explanation out there. The analogy, and the code example were perfect. I'm not even a developer but I needed to understand these fundamentals for something else.

privatesocialhandle
Автор

Cooking pasta while talking on the phone while while feeding the cat while watching Coding With Chaim... Easy Enough xD

serjio
Автор

Omfg...whats wrong with teachers in these days...this dude alone blew up at least 6 teachers i was asking about this video theme and they all failed to explain to me.

iruga
Автор

You talk really quickly, but I think that's what kept my attention throughout the video. It worked for me - thanks for the explanation.👏

portraitpictures
Автор

thankiuuu very much <3 i finally understand the difference between callbacks and promises.

samyybelen
Автор

Amazing explanation. Really appreciate it.

osyopans
Автор

hare ram
Very Nice Explaination👍👍
I feel Lucky to be directly reach to your video on first attempt rather then go through many videos and may still didn't grasp the concept.
hare ram

kanaksinghal
Автор

So much clear and to the point! Thanks man! 💝

KaziMeraj
Автор

What a great explanation. Thank you in advance!

And it would be super super great explanation if you could talk a little bit slower. You know? Just to make sure that your "good message" delivered way more clearly and hit the right target 🔥

Just my advice..

MuhammadIqbal-twmj
Автор

You are already on 2x speed uhh. Great explanation tho.

mithatercan
Автор

Who did check playback speed while listening him?

arifhussain
Автор

I was following along with this until the final stage where you had if(true) and you immediately invoked the then method on the promise. It wasn't clear whether that function that console.log's is still at the mercy of asynchronicity. By doing it immediately, surely the file won't have been read yet and therefore the console.log won't happen. It would only happen on the completion of the asynchronous file read. So you're not immediately unpacking the result, all you're really doing (I THINK) is specifying what will happen in the future when the then method gets called later. I need to watch more videos on promises. The only use case I currently see is the add listener pattern and for that I still don't see the advantage of this.

veemacks
Автор

what if you are ready to unpack the promise but the promise function is not yet done?

ianluigilastra
Автор

I thought Ben Shapiro is talking fast 😁
Good explanation! Thank you!

borisalkhasov
Автор

video was good but like teaching 1 hour course in 10 mins

jay