Whats the Difference Between Callbacks and Promises?
HTML-код
- Опубликовано: 28 сен 2024
- 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!
link: www.paypal.com...
really nice job , you are the first guy on youtube that I don't need to put on 1.5x
I literally saw the entire video at 2x
absolute best explanation of promises and i’ve seen a dozen
If I got a profesor like you in my back studies, I surely became a CTO at Google.
Clearly explained. Thanks
Dude your example made me clear after a lot of videos. Thanks✌🏼
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.
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
May be, just maybe slowing down in speaking might help.
thankiuuu very much
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..
You talk really quickly, but I think that's what kept my attention throughout the video. It worked for me - thanks for the explanation.👏
Cooking pasta while talking on the phone while while feeding the cat while watching Coding With Chaim... Easy Enough xD
haha this genuinely made me laugh
@@CodingWithChaim I wish JS were that effective as well xD promises are kinda a headache tho. Good burger example but sometimes you just come back with your recept and they reject you because someone has already eaten your burger xD
Nice I love where you’ve taken the analogy
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
Another great video... Love it.
Thank you!
So much clear and to the point! Thanks man! 💝
Thank you. Love the videos
Great explanation!
keep up this quality content!
Sir, awesome👏😊
very good explanation
You are already on 2x speed uhh. Great explanation tho.
what if you are ready to unpack the promise but the promise function is not yet done?
await
I thought Ben Shapiro is talking fast 😁
Good explanation! Thank you!
Awesome!!! 👏🏻
Thank you!
Who did check playback speed while listening him?
lol.. i did
Awesome
video was good but like teaching 1 hour course in 10 mins
שכוייח
Bro is that your bed?
no
I'm so sad I wasted the first 3 minutes on this video TBH..
Please slow down, I can't keep up!
well you can always control the speed of playback :)
Your speed is like sporty car..Hold on
U talked so fast!
Content is good but you talk way too fast for me :(
Too fast
Good one.. I thought the playback speed was 1.25x but it was normal
Man way too fast
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.
Awesome
Thanks!
slow down my boy. sheesh. thank god for playback speed .75
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.
Why are you running ??
Amazing explanation. Really appreciate it.
Another wow! Thank you!
Incredible, thank you!
you talk so fast! OMG
Awesome video thanks Chaim!
My pleasure! Really glad you found it useful!
Wow, great video. I really liked it.
Master!!! Great explanation!
Beautifully Explained!
Awesome buddy