Тёмный

16.11: Promises Part 1 - Topics of JavaScript/ES6 

The Coding Train
Подписаться 1,7 млн
Просмотров 333 тыс.
50% 1

What is a JavaScript Promise?
🎥 Next Video: • 16.12: Promises Part 2...
🔗 Giphy API: developers.giphy.com/
🔗 Wordnik API: developer.wordnik.com/
🔗 Promise on MDN: developer.mozilla.org/en-US/d...
🔗 Fetch on MDN: developer.mozilla.org/en-US/d...
🎥 Giphy API Tutorial: • 10.10: The Giphy API a...
🎥 Wordnik API Tutorial: • 10.8: Wordnik API and ...
🎥 let vs var: • 16.1: let vs var - Top...
🎥 ES6 Arrow Function: • 16.3: ES6 Arrow Functi...
🚂 Website: thecodingtrain.com/
💖 Patreon: / codingtrain
🛒 Store: www.designbyhumans.com/shop/c...
📚 Book recommendations: www.amazon.com/shop/thecoding...
💻 github.com/CodingTrain/website
🎥 For more videos on ES6/JavaScript: • 16: Topics of JavaScri...
🎥 For more Coding Challenges: • Coding Challenges
🔗 p5js.org/
🔗 processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...

Опубликовано:

 

27 май 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 503   
@rashidabrarriyad3910
@rashidabrarriyad3910 3 года назад
He is the most happy person in the world. Even a dropped marker makes him happy 6:10
@chathurasamarajeewa1578
@chathurasamarajeewa1578 Год назад
This is the best teacher I have ever seen in the youtube. Thank you for your contribution to the young developers
@cavinalbertbelga5090
@cavinalbertbelga5090 6 лет назад
The way you teach is very entertaining and fun! Love all your vids!
@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 4 года назад
I will try, but i cannot promise ...
@komatikvengeance8811
@komatikvengeance8811 3 года назад
@@jurjenvanderhoek316 He will await ...
@legionleschyzophrene4929
@legionleschyzophrene4929 3 года назад
@@komatikvengeance8811 Has it been resolved yet?
@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,
@antonioquintero-felizzola5334
@antonioquintero-felizzola5334 5 лет назад
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 RU-vid to learn. Thank you!
@danilo86petrovic
@danilo86petrovic Год назад
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 :)
@RuphiaYen
@RuphiaYen Год назад
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 💕
@alejandralf1749
@alejandralf1749 Год назад
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 :)😊
@Rubariton
@Rubariton 2 года назад
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
@sl8fg
@sl8fg 6 лет назад
I finally got the idea behind promises. Thank you!
@skybldev
@skybldev 5 лет назад
This helped me a lot! I'm no longer confused about Promises. Thank you so much!
@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.
@rubenb2427
@rubenb2427 4 года назад
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!!!
@prerit714
@prerit714 3 года назад
Honestly , you are the only person who was able to teach me promises!
@keithchong6960
@keithchong6960 5 лет назад
OMG! holy cow i finally understand what promises are. thanks for being such an enthusiastic teacher.
@andresnaranjo48
@andresnaranjo48 6 лет назад
I like how enthusiastic you are and the madness in the explanations. Thank you for all the knowledge!
@zy420806143
@zy420806143 5 лет назад
You are trying very hard to make your tutorial crystal clear and funny at the same time. You did it!
@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
@rajaaekant
@rajaaekant 4 года назад
I have been following a lot of your JS playlists and I have never been so much thankful for anyone.
@igor972
@igor972 6 лет назад
The Promises are much more understandable with your explanation. You are so funny. Thank you!
@PackerBronco
@PackerBronco 3 года назад
This is the best instructional video I've seen on Promises on RU-vid. I'm at my standing desk and giving you a standing ovation.
@deenmohammad785
@deenmohammad785 4 года назад
This man made this like a child eating a huge medicine tab like drinking water! amazing ! kudos!
@raaghavendrahm4883
@raaghavendrahm4883 2 года назад
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!!
@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.
@callmeghostgamer
@callmeghostgamer 2 года назад
Went through multiple tutorials about ES6 on youtube but your style of explaining things were just awesome... Love and wishes from India 🇮🇳 Thanks ☺
@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.
@CameronChardukian
@CameronChardukian 5 лет назад
This video was excellent. Easily the best resource I've found thus far for understanding promises!
@rgmwy
@rgmwy 4 года назад
That was probably the best explanation of Javascript promises I've come across anywhere. Big Thanks to you!
@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.
@stanlee8134
@stanlee8134 5 лет назад
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
@isajal07
@isajal07 5 лет назад
The more I watch this video, the more I get comfortable with the Promises! Thanks Dan!
@worms618
@worms618 6 лет назад
Great video again! Looking forward to the video about async and await!!
@threeone6012
@threeone6012 4 года назад
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!
@jurjenvanderhoek316
@jurjenvanderhoek316 4 года назад
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!
@jkisazhm5612
@jkisazhm5612 2 года назад
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!
@matthweneldon8694
@matthweneldon8694 3 года назад
I have watched many videos on this topic and finally it is clicking. I enjoy your energy and teaching style. Thank you!
@danielamoreno4414
@danielamoreno4414 Год назад
I just came to your channel and can't stop watching all your videos. Such a great explanation! finally understood promises. Thanks
@janlivny6196
@janlivny6196 4 года назад
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.
@IlmoOtt
@IlmoOtt 5 лет назад
imo the best source for learning new topics. Very clear explanations! Thanks man!
@ChrisFotosMusic
@ChrisFotosMusic 4 года назад
6:10 ...this is why i keep coming back to your videos, man. it's the little things
@celina6204
@celina6204 3 года назад
so helpful!! I love how you somehow always manage to answer the next question I'm thinking
@peterebode
@peterebode 4 года назад
Just Stumbled on your channel, and i don't want to let go at all.. Man you're good.
@azndoodle1
@azndoodle1 5 лет назад
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 5 лет назад
Thank you, such nice feedback!
@tusharroy6182
@tusharroy6182 3 года назад
I literally smile while understanding these concepts. Love how you make things so simple. ❤
@surabhisugandh
@surabhisugandh Год назад
Your style of teaching is so intuitive and easy to understand! Thank you for taking the time to share your knowledge :)
@thesickandwounded
@thesickandwounded 4 года назад
i've struggled with promises for almost a month and this actually made it click!
@dalecooper3994
@dalecooper3994 6 лет назад
Thanks man, I've been trying to make sense of this mess for some time now, and I think that now I'm much closer to that!
@Kapoor123Shahid
@Kapoor123Shahid 5 лет назад
one of best tutor i ever come across. love the way of teaching, beginner level
@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
@amyoulton7860
@amyoulton7860 3 года назад
Seriously thank you for making content! This has been such a confusing topic and it's so so easy to understand when you explain it.
@eruston
@eruston 5 лет назад
One of the best coding channels I have found on internet!
@MohamedHassan-yk5xn
@MohamedHassan-yk5xn 5 лет назад
Oh man, you deserve 10M subscribers Thank you so much for the helpful information 😊❤️
@chrisgannon5145
@chrisgannon5145 4 года назад
Thank you for this fantastic video! I hadn't been able to get my head around promises until now. Gold star sticker for you.
@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" !!!
@darkthrongrising5470
@darkthrongrising5470 5 лет назад
Dude, your videos make me happy, thank you for this service to mankind.
@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.
@celesteartley8473
@celesteartley8473 3 года назад
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!
@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.
@mridulhoneysharma
@mridulhoneysharma 3 года назад
No buddy can teach the way you do....You are just amazing keep the good work dude.... lots of love and respect
@JoeWong81
@JoeWong81 5 лет назад
Thank you very much coding train. Love your down to earth teaching style and non stuck up attitude!!!
@jrhager84
@jrhager84 4 года назад
Words cannot describe how much I love this man.
@MisterMajister
@MisterMajister 6 лет назад
Wow, haven't seen your videos for some time, but this was really inspiring! I'm used to do the "standard" way of writing functions, but I will surely get back to this video in the future when designing websites.
@krisztianfeher5665
@krisztianfeher5665 5 лет назад
Man I love this video. Please stay crazy!
@DivumSominum
@DivumSominum 4 года назад
Just subscribed! You're pleasant to listen to and the way you explain how things are working is really helpful for a total beginner.
@criemensnider
@criemensnider 4 года назад
Thank you SO MUCH! I've been struggling hardcore with understanding these and this made it very digestible!
@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!
@briannapapparotto8815
@briannapapparotto8815 3 года назад
YOU, sir, are my saving grace. Thank you for these lessons!!
@sonalkumar702
@sonalkumar702 4 года назад
You are very fun to watch and I understand the promise along the way. Thanks for making learning easy
@scrapdev1219
@scrapdev1219 Год назад
Presentation is very human. keep me interested through out the whole video. Thank You for the knowledge.
@gastondev4919
@gastondev4919 3 года назад
Finally a REAL explanation on promises, THANK YOU!
@PoCHobs
@PoCHobs 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.
@ksubyslowed
@ksubyslowed 5 лет назад
15:07 is my exact reaction when i finally thought i made my way out with the data I needed
@aqeelzeid24
@aqeelzeid24 5 лет назад
I love your enthusiasm and your goofiness , you love what you do and because you do we learn things soo easilyyy
@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.
@corynorell3686
@corynorell3686 5 лет назад
Reviewing for potential upcoming interviews rather than learning, but still extremely valuable. Much obliged!
@StealWhoWhenAndWhat
@StealWhoWhenAndWhat 4 года назад
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.
@stiliankushev3453
@stiliankushev3453 6 лет назад
Thanks! keep going! Love your videos!
@nicolasculotta8976
@nicolasculotta8976 3 года назад
Finally I got how promises work, i'll keep learning, thanks man!
@BurningMarmite
@BurningMarmite Год назад
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.
@HearterSG
@HearterSG 6 лет назад
I finally understand promises. Thanks daniel!
@chetranqui
@chetranqui 3 года назад
Clear, concise, and creative. Appreciate the solid 3C presentation. :-)
@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.
@weblearningd2294
@weblearningd2294 Год назад
I love your classes, regards from Budapest Hungary!
@Shadowhuntazz
@Shadowhuntazz 6 лет назад
Yes ! A good video for finally a good explantion on promises, thanks !
@zer0826
@zer0826 5 лет назад
Even a 2-year old will understand coding with such a good mentor! Hats off maestro! Keep up the good work. Bra-vo (Y)
@irksomevalkyrie
@irksomevalkyrie Год назад
love love love the walkthrough! ❤
@ridz4912
@ridz4912 3 года назад
"this is like part of uh.. ES427". This man is purely killing it !!
@HellesMammuthBS
@HellesMammuthBS 4 года назад
After watching, i can say, you didnt promise too much in the beginning. Great video, thank you!
@specialspace8446
@specialspace8446 6 лет назад
Great videos! I subscribed today and recommended a bunch to friends. I’m glad you at least mentioned async and await at the end...it hurt so bad seeing it all written that way. Oof Still entertaining and good watch :P
@bennaylor3614
@bennaylor3614 2 года назад
Best video on promises I have seen yet!
@timberwolfevoable
@timberwolfevoable 5 лет назад
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 5 лет назад
Yay! Good luck with the job search!
@davidfromnorth7836
@davidfromnorth7836 4 года назад
Wow, it's the first time I see person so passionate about coding! It motivates me a lot!
@ToniLiem
@ToniLiem Год назад
Wow by far you are the best teacher on youtube planet.
@delivcemwangi7396
@delivcemwangi7396 2 года назад
I never really understood promises in javascript but after watching this video I have gotten to understand, thank you so much
@thatcoul
@thatcoul Год назад
I wish I discovered this channel earlier, great job you're doing
@CreapFreek
@CreapFreek 3 года назад
Dude, you are an amazing teacher. Seriously.
@vinayb1010
@vinayb1010 5 лет назад
I understood promise finally in a very very very very nice way. Thanks a lot for this video set sir. It helped a lot. Great work!!!!!!!!
@kaywulff2783
@kaywulff2783 5 лет назад
ALL ABOARD!, you are amazing! ❤ thank you so much.
@shaikhsanuar5339
@shaikhsanuar5339 Год назад
Best Teacher on RU-vid ❤️ Best wished for you Sir.
Далее
16.12: Promises Part 2 - Topics of JavaScript/ES6
11:50
Rust Tutorial #2 - Using Rust Tools (cargo, rustfmt)
9:14
▼ЧЁРНАЯ МАГИЯ 🔮
31:15
Просмотров 353 тыс.
Erdős-Woods Numbers - Numberphile
14:12
Просмотров 80 тыс.
16.14: async/await Part 2 - Topics of JavaScript/ES8
10:08
I Played Fabiano Caruana
12:03
Просмотров 247 тыс.
9.19: Prototypes in Javascript - p5.js Tutorial
19:24
Просмотров 257 тыс.
Vim as your editor - Advanced Motions P2
12:48
Просмотров 167 тыс.