16.11: Promises Part 1 - Topics of JavaScript/ES6

  Рет қаралды 336,977

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 506
@rashidabrarriyad3910
@rashidabrarriyad3910 4 жыл бұрын
He is the most happy person in the world. Even a dropped marker makes him happy 6:10
@chathurasamarajeewa1578
@chathurasamarajeewa1578 2 жыл бұрын
This is the best teacher I have ever seen in the youtube. Thank you for your contribution to the young developers
@antonioquintero-felizzola5334
@antonioquintero-felizzola5334 6 жыл бұрын
You probably are one of the best teachers out there. It is sublime the way you explain with such passion. Your channel is one of main raisons I keep coming back to KZbin to learn. Thank you!
@danilo86petrovic
@danilo86petrovic 2 жыл бұрын
I agree! I have the same thought!
@yuudaemones2624
@yuudaemones2624 4 жыл бұрын
I really appreciate how this fella always seems like he's having the best time in these videos. Love it. Always putting out contagiously positive, straight-up giddy vibes, which I didn't realize I was missing until I found this channel. It's perfect for learning this kind of abstract and information-dense material, especially for someone like me, who has a learning disability (ADHD/ADD). It can be debilitating if I forget to set my alarms (which are meant to break-up any prolonged periods of distraction) or don't happen to be in a state of hyperfocus (which only results from finding something so mentally stimulating that it meets the threshold for something worthy of commanding my full attention, at which point a switch in my ADHD brain is flipped and temporarily disables 99% of my disability's symptoms and basically causes me to channel the Buddha and maintain focus). Talk about getting side-tracked. Anywayyyyyyyyyyyy, my point is that this gregarious fellow's style of teaching never fails to keep me interested in, and actively engaged with, the material being covered. Most channels that cover this stuff just do dry, monotone code-along tutorials from a computer chair and rarely provide more than a shallow explanation (e.g. reciting a condensed or verbatim summary straight out of the docs) of what the code they're writing actually does. Rarely do they go into what it doesn't do, what other technologies it interacts with, why it works, or last but not least (and IMHO one of the most important things a teacher who knows their craft will include in their lessons) why it's actually really cool and worth getting hyped about learning and using. Homeboy has all that on lock and consistently delivers, so for me, stumbling upon this channel was like stumbling upon a jolly oasis in a mundane desert. Great teacher, great content, great channel. 10/10. Subscribed. All aboard the coding train, let's go. return 0;
@notasophon
@notasophon 4 жыл бұрын
the very fact we are here rather than MDN documentation speaks to the fact everyone learns in different ways e.g. kinesthetic, visual, read/write, auditory. everyone must seek their own means of absorption by trial and error. glad you found yours :)
@Rubariton
@Rubariton 3 жыл бұрын
Man what a joy to watch this video. These are the teachers you longed for in school. Such enthousiasm, such great energy and so clear in explenation. I never got explained why to use the return word after having fulfilled a promise and then use the .then method again. This is so clear. Thanks a bunch
@elisamartinez202
@elisamartinez202 6 жыл бұрын
Please someone give a piece of the best cake to this man!!!! Thanksssss ❤❤❤❤❤
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
I also love pie ❤
@iulianalupu9851
@iulianalupu9851 5 жыл бұрын
{\__/} ( • - •) / ⊃ 🎂
@jurjenvanderhoek316
@jurjenvanderhoek316 5 жыл бұрын
I will try, but i cannot promise ...
@komatikvengeance8811
@komatikvengeance8811 4 жыл бұрын
@@jurjenvanderhoek316 He will await ...
@legionleschyzophrene4929
@legionleschyzophrene4929 4 жыл бұрын
@@komatikvengeance8811 Has it been resolved yet?
@RuphiaYen
@RuphiaYen 2 жыл бұрын
Wow, I mostly put the playback speed to 1.5x on a 20+ min video but your videos are the only ones that I don't do that to because I just straight up enjoy watching you have fun and I love that you don't show us the shortcuts immediately but you enlighten us on how to make a long code look simple. I should have learned from you when I first started 3 months ago. This has become my favorite channel, thank you and I love you and your videos 💕
@thatsalot3577
@thatsalot3577 2 жыл бұрын
Your channel give me those vibes which you get as a kid while watching a DIY tutorial on a television in 2009.
@prerit714
@prerit714 3 жыл бұрын
Honestly , you are the only person who was able to teach me promises!
@jontyschoen
@jontyschoen 6 жыл бұрын
Hi, I am relatively new to your channel and have decided to pick up coding. Just wanted you to know that your videos are extremely helpful and enjoyable. They have allowed me to learn a huge amount in such a little time. Thank you, my good Sir,
@alejandralf1749
@alejandralf1749 2 жыл бұрын
Four years since this video was uploaded and still doing its magic. Thanks, thanks and a hundred times thanks for this content! I had a tough day trying to understand promises and finally, I found your video and it threw a lot of light on that topic! Besides, I love the way you explain :)😊
@cavinalbertbelga5090
@cavinalbertbelga5090 6 жыл бұрын
The way you teach is very entertaining and fun! Love all your vids!
@andersair5636
@andersair5636 4 жыл бұрын
This turned a week of banging my head against the wall trying to grasp these concepts into a big ol' smile. Thank you so much
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
So glad to hear ! - The Coding Train Team
@raaghavendrahm4883
@raaghavendrahm4883 3 жыл бұрын
Omg!! Do you believe if I say that you are the only person in the entire universe who made me feel that I can understand this (after quitting!!). I may have to watch it a couple of more times. But, I am sure that I will understand with your explanation. You are a great teacher. Thanks a lot for this, buddy!!
@rubenb2427
@rubenb2427 5 жыл бұрын
OMG this was awesome!!! Finally understanding promises ALREADY helped me solve a key issue in my application, and now I can CLEARLY see all the problems and BUGSSSSSSSS I can avoid with this!!! THANKS for clearly and awesomely explaining this!!!
@deenmohammad785
@deenmohammad785 4 жыл бұрын
This man made this like a child eating a huge medicine tab like drinking water! amazing ! kudos!
@zy420806143
@zy420806143 6 жыл бұрын
You are trying very hard to make your tutorial crystal clear and funny at the same time. You did it!
@sl8fg
@sl8fg 6 жыл бұрын
I finally got the idea behind promises. Thank you!
@andresgalvez696
@andresgalvez696 4 жыл бұрын
I gave up watching my udemy instructor, about to sleep. I then came here and Voilá!! I am awake again. Cheer Dude! You made my day.
@monastyrskiiden
@monastyrskiiden 6 жыл бұрын
Man, keep on doing those videos, You're the best teacher I ever had, even considering my English is bad.
@yuudaemones2624
@yuudaemones2624 4 жыл бұрын
Native English speakers in my country (USA) misuse _you're_ and _your_ constantly but you used it correctly here, so I would say your English is at least decent.
@igor972
@igor972 6 жыл бұрын
The Promises are much more understandable with your explanation. You are so funny. Thank you!
@urreallysus
@urreallysus 2 жыл бұрын
best teacher on earth
@BurningMarmite
@BurningMarmite 2 жыл бұрын
Here is the thing. I know perfectly well what promises are in js. I'm not here for learning about promises. I just want to witness this man.
@keithchong6960
@keithchong6960 6 жыл бұрын
OMG! holy cow i finally understand what promises are. thanks for being such an enthusiastic teacher.
@stanlee8134
@stanlee8134 6 жыл бұрын
This is a really great tutorial about promise in JavaScript ES6. This concept is often difficult even for experienced developers to understand but you made this clear! I recommend you all to learn about promise in codecademy first (in Asynchronous JavaScript lesson) before watching this tutorial series about promise, because it really helps to understand better about the concept. Thanks theCodingTrain for making these awesome tutorials 😄 From Malaysia
@KunalPathak06
@KunalPathak06 4 жыл бұрын
The way you solved the errors and talked about them on runtime during video cleared a lot of doubt. Finally , understood "Promises" !!!
@rajaaekant
@rajaaekant 4 жыл бұрын
I have been following a lot of your JS playlists and I have never been so much thankful for anyone.
@callmeghostgamer
@callmeghostgamer 3 жыл бұрын
Went through multiple tutorials about ES6 on youtube but your style of explaining things were just awesome... Love and wishes from India 🇮🇳 Thanks ☺
@skybldev
@skybldev 6 жыл бұрын
This helped me a lot! I'm no longer confused about Promises. Thank you so much!
@singhanand1236
@singhanand1236 5 жыл бұрын
U can't let the viewer think anything else, which makes it easier to follow and understand stuff..elegant
@threeone6012
@threeone6012 5 жыл бұрын
24:42 I legitimately laughed out loud when the train started. My family asked what was going on and came in to see. I replayed it and they laughed out loud. This channel is genius. Thanks for the awesome tutorials!
@PackerBronco
@PackerBronco 3 жыл бұрын
This is the best instructional video I've seen on Promises on KZbin. I'm at my standing desk and giving you a standing ovation.
@andresnaranjo48
@andresnaranjo48 6 жыл бұрын
I like how enthusiastic you are and the madness in the explanations. Thank you for all the knowledge!
@mridulhoneysharma
@mridulhoneysharma 4 жыл бұрын
No buddy can teach the way you do....You are just amazing keep the good work dude.... lots of love and respect
@janlivny6196
@janlivny6196 5 жыл бұрын
Man, i love this guy. I had to come here from Treehouse to understand what promises are all about, and this sure helped me out a lot.
@cuchooo
@cuchooo 3 жыл бұрын
I just finished an assignment because of your explanation. Keep up the great and passionate work. Thank you for proving that coding lessons don't have to be a graveyard.
@jrhager84
@jrhager84 4 жыл бұрын
Words cannot describe how much I love this man.
@matthweneldon8694
@matthweneldon8694 4 жыл бұрын
I have watched many videos on this topic and finally it is clicking. I enjoy your energy and teaching style. Thank you!
@danielamoreno4414
@danielamoreno4414 2 жыл бұрын
I just came to your channel and can't stop watching all your videos. Such a great explanation! finally understood promises. Thanks
@diegovillafane6313
@diegovillafane6313 3 жыл бұрын
I love when I don't get something because I get to watch a coding train video
@jakema4o
@jakema4o 3 жыл бұрын
Thanks, it helped a lot. It was not too long, I would even say I wanted to know more, with the way you explain. So far only person on youtube who really thinks about how to deliver the knowledge to someone who has no idea about all this. Subscribed!
@davidfromnorth7836
@davidfromnorth7836 4 жыл бұрын
Wow, it's the first time I see person so passionate about coding! It motivates me a lot!
@HellesMammuthBS
@HellesMammuthBS 4 жыл бұрын
After watching, i can say, you didnt promise too much in the beginning. Great video, thank you!
@zer0826
@zer0826 6 жыл бұрын
Even a 2-year old will understand coding with such a good mentor! Hats off maestro! Keep up the good work. Bra-vo (Y)
@Card-Social
@Card-Social 4 жыл бұрын
I like all your videos. I speaks spanish but taking a bootcamp in english. so your pronunciation helps a lot. Thanks for explaining well.
@centip3de930
@centip3de930 2 жыл бұрын
Tbh I didn't think how much I'd love watching your videos. My first video was JSON and APIs video and I thought that you're very wierd person. Because of that I couldn't watch any of your videos. Now I'm getting back every time I have a question and when I get your videos as a response to my questions I feel very good. Because of understanding how fun and how simple you'll explain everything you understand. Thanks for your videos! Wish you all the best :)
@TheCodingTrain
@TheCodingTrain 2 жыл бұрын
Love hearing this story!
@peterebode
@peterebode 4 жыл бұрын
Just Stumbled on your channel, and i don't want to let go at all.. Man you're good.
@celesteartley8473
@celesteartley8473 4 жыл бұрын
This is by far the best video I've ever seen explain promises I've watched quite a few because I've been programming in JavaScript for a few months now and oh my gosh does this video beat them all. This man needs a rainbow train stat sent to his house to deliver him the biggest teddy bear anyone of you could win at a fair!
@rgmwy
@rgmwy 4 жыл бұрын
That was probably the best explanation of Javascript promises I've come across anywhere. Big Thanks to you!
@isajal07
@isajal07 6 жыл бұрын
The more I watch this video, the more I get comfortable with the Promises! Thanks Dan!
@jlcdrivewayramps7343
@jlcdrivewayramps7343 3 жыл бұрын
The way he breaks things down makes it understanable.
@thesickandwounded
@thesickandwounded 4 жыл бұрын
i've struggled with promises for almost a month and this actually made it click!
@scrapdev1219
@scrapdev1219 2 жыл бұрын
Presentation is very human. keep me interested through out the whole video. Thank You for the knowledge.
@ToniLiem
@ToniLiem 2 жыл бұрын
Wow by far you are the best teacher on youtube planet.
@azndoodle1
@azndoodle1 6 жыл бұрын
You did a great job and explaining and making it simple to digest. I really enjoyed that you explained the long-hand and short-hand of promise syntax!! Coming from old school programming, this new javascript code structure is daunting and you made it transferable to something I understand. I may have to watch it few times to absorb every detail but in the first attempt I was at least able to follow along. Also, I think you helped vocalize tracing the code really helps! Many other tutorial, do not do that and just assume you can jump to the next step easily. Continue the enthusiasm and the wonderful videos on breaking down ideas, steps and logic.
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Thank you, such nice feedback!
@ankitjha7620
@ankitjha7620 8 ай бұрын
I love this guy , he is expert of teaching with "high" skill.
@Kapoor123Shahid
@Kapoor123Shahid 6 жыл бұрын
one of best tutor i ever come across. love the way of teaching, beginner level
@eruston
@eruston 5 жыл бұрын
One of the best coding channels I have found on internet!
@delivcemwangi7396
@delivcemwangi7396 2 жыл бұрын
I never really understood promises in javascript but after watching this video I have gotten to understand, thank you so much
@CapitanWiseman
@CapitanWiseman 5 жыл бұрын
I can see than you wrote JON and then added jump cut in 5:39 to fix it to JSON!!! You cannot run away!!!!!! By the way you are one of the best coding teachers I have ever seen. Love your show
@MohamedHassan-yk5xn
@MohamedHassan-yk5xn 5 жыл бұрын
Oh man, you deserve 10M subscribers Thank you so much for the helpful information 😊❤️
@suzybennett1965
@suzybennett1965 3 жыл бұрын
❤ I've never been down such a KZbin rabbit hole in years until I found this channel! There should be a warning in the description: "You will lose hours of your life but it's so worth it"
@ridz4912
@ridz4912 4 жыл бұрын
"this is like part of uh.. ES427". This man is purely killing it !!
@laurajackson4539
@laurajackson4539 6 жыл бұрын
I want some of what he's taken this morning. But seriously, thank you for this video, it has been a massive help! Looking forward to the next video.
@CameronChardukian
@CameronChardukian 5 жыл бұрын
This video was excellent. Easily the best resource I've found thus far for understanding promises!
@timberwolfevoable
@timberwolfevoable 6 жыл бұрын
I got lucky and was asked what's a promise on my interview 😬thanks to you I was able to explain it well. Keep up the good work 👍👍
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Yay! Good luck with the job search!
@JS-ie7qn
@JS-ie7qn 5 жыл бұрын
I can't believe I understood this one.. the only video that gave me hope for promises. What a good teacher.
@chomok-bd
@chomok-bd 2 жыл бұрын
Best Teacher on KZbin ❤️ Best wished for you Sir.
@shabbirhusain6634
@shabbirhusain6634 4 жыл бұрын
The way he delivered the content is speechless.
@attilatoth268
@attilatoth268 5 жыл бұрын
Very good explanation overall, well done. A small mistake though: at 19:45 you say you have to return a promise from the then callback to keep the chaining, which is not technically true. If you just return a value then it will be wrapped in a promise automatically, so e.g. the following code is perfectly ok, and prints 10: Promise.resolve(5).then(x => x * 2).then(console.log) Your problem was that without an explicit return statement the callback function returned undefined. You can still chain that though: Promise.resolve(5).then(() => {}).then(console.log)
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Thank you for this clarification!
@surabhisugandh
@surabhisugandh 2 жыл бұрын
Your style of teaching is so intuitive and easy to understand! Thank you for taking the time to share your knowledge :)
@cmntkxp
@cmntkxp 6 жыл бұрын
This guy is my dream teacher..from the spooky arrow function tut.
@BOOMplop_media
@BOOMplop_media 6 жыл бұрын
Dude, these are fantastic videos, a lot of educators I think ignore the power of being entertaining to keep people engaged.
@kenjuuts
@kenjuuts 6 жыл бұрын
I've been using promises time to time blindly which is annoying because it's hard to make more complex code since I didn't know the concept behind it. Thank you so much for this!
@weblearningd2294
@weblearningd2294 2 жыл бұрын
I love your classes, regards from Budapest Hungary!
@nicolasculotta8976
@nicolasculotta8976 4 жыл бұрын
Finally I got how promises work, i'll keep learning, thanks man!
@nithinkjoy2158
@nithinkjoy2158 4 жыл бұрын
Finally got one video which explained promise in real-world rather than using new Promise stuff
@christopherkalolo1805
@christopherkalolo1805 3 жыл бұрын
You made my life easier understanding promises... Kudos!
@NSiebs
@NSiebs 6 жыл бұрын
Love this video! Promises are probably one of the most important lessons in modern web development. Though Async/await will probably kill promises in the long run.
@ivankirov2462
@ivankirov2462 6 жыл бұрын
Nicholas Siebenaller, async/await is syntax sugar for promises. So, async/await won't kill promises
@gastondev4919
@gastondev4919 3 жыл бұрын
Finally a REAL explanation on promises, THANK YOU!
@darkthrongrising5470
@darkthrongrising5470 6 жыл бұрын
Dude, your videos make me happy, thank you for this service to mankind.
@ChrisFotosMusic
@ChrisFotosMusic 4 жыл бұрын
6:10 ...this is why i keep coming back to your videos, man. it's the little things
@IlmoOtt
@IlmoOtt 6 жыл бұрын
imo the best source for learning new topics. Very clear explanations! Thanks man!
@StealWhoWhenAndWhat
@StealWhoWhenAndWhat 5 жыл бұрын
This was perfect... I always heard about "Promises" and really didn't know what it was, and I always thought they were a complicated... which I still think they can be lol... but I have a clearer idea of what they are and how to use them. Thank you a lot for this.
@CreapFreek
@CreapFreek 4 жыл бұрын
Dude, you are an amazing teacher. Seriously.
@ksubyslowed
@ksubyslowed 5 жыл бұрын
15:07 is my exact reaction when i finally thought i made my way out with the data I needed
@celina6204
@celina6204 3 жыл бұрын
so helpful!! I love how you somehow always manage to answer the next question I'm thinking
@2002yeunglau
@2002yeunglau Жыл бұрын
Pure golden tutorial I hope your majesty could teach a whole series of JS
@hasanmirarabshahi1956
@hasanmirarabshahi1956 3 жыл бұрын
Maybe the best video to understand the Promise concept in js Thank you so much for this
@sonalkumar702
@sonalkumar702 5 жыл бұрын
You are very fun to watch and I understand the promise along the way. Thanks for making learning easy
@hood_love_189
@hood_love_189 2 жыл бұрын
your the man dude. explained harvard... now I don't need to go anymore
@YogaForAll-Vikash
@YogaForAll-Vikash 4 жыл бұрын
I have fallen in love with your explanation!
@AndreaNobili84
@AndreaNobili84 4 жыл бұрын
Best istructor here on KZbin. He explained a very complex thing in a very simple way. He also seems that he smocked some weed before start recording the video...he is so funny =)
@jurjenvanderhoek316
@jurjenvanderhoek316 5 жыл бұрын
Great explanation. I also love your humorous style. I always found JS promises hard to understand, but you have made me begin to grasp the basic idea. Thank you so much!
@phongphamhuy4000
@phongphamhuy4000 6 жыл бұрын
Thanks for an amazing video!! This makes my life so much easier. Nowadays it's so damn hard to find someone that is really having fun while coding.
@briannapapparotto8815
@briannapapparotto8815 3 жыл бұрын
YOU, sir, are my saving grace. Thank you for these lessons!!
@jatinthakwani6224
@jatinthakwani6224 4 жыл бұрын
man,this dude teaches so well
@yannickvandiermen4448
@yannickvandiermen4448 6 жыл бұрын
you are the best teacher in the world!
@thatcoul
@thatcoul 2 жыл бұрын
I wish I discovered this channel earlier, great job you're doing
@TinyLittleMaggie
@TinyLittleMaggie 5 жыл бұрын
I love how he likes to say "oh this is great!!" when he makes a mistake :)
@foreverhumanpodcast
@foreverhumanpodcast 3 жыл бұрын
If we can all get this mentality....world would be so much better lol
16.12: Promises Part 2 - Topics of JavaScript/ES6
11:50
The Coding Train
Рет қаралды 103 М.
Coding Challenge 183: Paper Marbling Algorithm
32:10
The Coding Train
Рет қаралды 80 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,5 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,4 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 49 МЛН
16.3: ES6 Arrow Function - Topics of JavaScript/ES6
22:32
The Coding Train
Рет қаралды 273 М.
16.15: Promise.all() - Topics of JavaScript/ES6
11:44
The Coding Train
Рет қаралды 127 М.
JavaScript Promises Crash Course
24:03
Kevin Powell
Рет қаралды 39 М.
Async + Await in JavaScript, talk from Wes Bos
15:52
freeCodeCamp.org
Рет қаралды 118 М.
1.1: fetch() - Working With Data & APIs in JavaScript
15:39
The Coding Train
Рет қаралды 456 М.
16.5: Higher Order Functions in JavaScript - Topics of JavaScript/ES6
16:21
16.14: async/await Part 2 - Topics of JavaScript/ES8
10:08
The Coding Train
Рет қаралды 90 М.
Coding Challenge 171: Wave Function Collapse
1:18:37
The Coding Train
Рет қаралды 557 М.
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,5 МЛН