Async + Await in JavaScript, talk from Wes Bos
ฝัง
- เผยแพร่เมื่อ 2 ก.ค. 2024
- Flow Control in JavaScript is hard! Native Promises in JavaScript have helped immensely, but the syntax is still a little callback-y. With Async + Await, we can write synchronous looking code without losing any of the benefits of JavaScript's asynchronous nature.
Wes Bos explores how async + await works, best practices for flow control, and explores several solutions for handling errors.
Filmed at 2017.dotjs.io on December 1st in Paris.
You can follow Wes Bos on Twitter: / wesbos
This talk is under the creative commons license. freeCodeCamp is not associated with this talk. We're just excited to bring more exposure to to it!
--
Learn to code for free and get a developer job: www.freecodecamp.com
Read hundreds of articles on programming: medium.freecodecamp.com
what a cool guy doing this talk
Wes Bos is a great speaker, he makes it so simple and explains it so well
Great to have Wes Bos for a talk!
What a beautiful stage. 🌿 Even his slides are aesthetically pleasing.
Great shoutout to Wes Bos for a brilliant and clear explanation
0:33 a sink, a weight
This is the best async await video to this day, I'm not even exaggerating.
This is exactly what I needed to learn today! Thank you!
Finally, I get it! Thank you, Wes!
One of the best JS teachers
Loved the express bit. Thanks!
very amazing talk, i loved it so much. thank you
I still can't get over the fact that some people are laying in audience
Its JavaScript
Very helpful! Thanks! Loved it! :)
Thanks WesBos, You really are a boss.
Awesome! Very well explained.
Thank you! Nice speech!
Thanks a lot wesbos
Thanks Wes!
Starting this video, I had 70% confidence with async-await; after watching it my confidence is 42.6%
thats because concepts are not clear....watch dev ed callback async await ...for that
@@adarshkotali agreed
One video/lesson will never be able to bring 100% of learners to 100% of comprehension.
thank you brother you helped me a lot
Very good!
Wow wesbos yay! I just realized this was almost 4 months back! Damn I've come so far with JS already
This is real Gem.
gotta love that Cobalt2
Very nice
Wes is cool! :)
Amazing talk, I really like async / await but the error handling seems too ugly to me so generally I prefer promises
Here's a tip: use .catch with await :) best of both
Try catch blocks 👍
Best proceeding
brilliant
Thanks
great
how to get the slides? love it
in the beginning, you said JavaScript does not wait, is it JavaScript or Node Js is non-blocking nature?
when I see this name [Wes Bos], I am like I need to watch the video 🔥🔥🤣🤣
Wicked
async await gives us synchronous looking code without the downside of writing synchronous code (call back hell)
There's a chick in the crowd about to say "can you keep it down cause I'm trying to sleep here?"
6:18 that's the way to enjoy coding :) -- Chick
The fonts of the code is awesome,what kind of the font is ,who knows?
Kong Bruce I guess it’s Fira Mono
It's Operator Mono
@@PareshRadadiya22Cool, thanks
Wes is brilliant async/await not so much...
05:07 aysync await
A S I N K
lol
Why they are sleeping?
14:12 someone is sleeping
the are cool
The elephant in the room is that when you have to wait for data before doing some processing then it doesn't matter how "performant" your code is.
Sup
that intro could probably pop a speaker... it is horrible sound :(
GOTTA LOVE THAT BASS BRO. POP SOME MOLLY BEFORE WATCHING ANY JS TUTORIALS... WE ALL KNOW THIS IS THE FIRST RULE TO GOOD PROGRAMMING
@@BobbyBundlez lmao!
This guy cannot really code, but can read