I am not a native English speaker but ur accent is most suitable for me! Thank you for ur content
@JamesQQuick4 жыл бұрын
Glad to hear that!
@joshhoffer3 жыл бұрын
Hes got that standard American dialect. Not too Boston not too Texas
@rajanchawla12852 жыл бұрын
@@JamesQQuick y
@rajanchawla12852 жыл бұрын
55ttttttmtattu tattu tattu mm mm mmm mm mmm mm mmm mm mmm mm mmm mm@@JamesQQuickm mmmmmmm mm ttttttt mmmtmmit?mtmtttm
@rajanchawla12852 жыл бұрын
@@JamesQQuick mntmmmmmmmm
@cameronthompson12754 жыл бұрын
Promises are still a struggle for me. This has helped a ton. Thanks, James!
@JamesQQuick4 жыл бұрын
So glad to hear that. Yes they are very tricky
@_rachid4 жыл бұрын
Just keep repeating using them, after a while you'll find them so easy to grasp.
@sazaraki3 жыл бұрын
@@operationskunkworks5914 That's a very interesting point: the difference between creating and consuming a promise. Of all the tutorials I've seen on the subject, nobody has talked about that.
@ZhouJi3 жыл бұрын
@@sazaraki not just interesting, but very fundamental. many tutorials talk about the the syntax difference between callback, promise, and async/await, but neglect the more important question about which part of your code is intended to be async (going to background in parallel) and which part is intended to block
@marcom63703 жыл бұрын
@@sazaraki I found this video about the difference between consuming and writing a promise kzbin.info/www/bejne/iKe8inZ9qJlogpY
@nikolaoskonstantinidis35052 жыл бұрын
I understood these concepts better in your 10 min video than in many others 20+ min videos. Thank you.
@jonibs903 жыл бұрын
My teacher taught us Asynchronous JavaScript at the end of a class in 15 minutes and I got 0% of it. Thank you for this video
@everay18463 жыл бұрын
I'm so glad to hear that asynch js is not only for me difficult to learn, because it's just not sinking in, yet. I'm grateful to learn from your videos, you can explain complex things simple.
@ramyattalla71682 жыл бұрын
its not SYNCING in yet* lmao i'll see myself out- I promise...
@tigana2 жыл бұрын
@@ramyattalla7168 Lol
@kinstar Жыл бұрын
you really have to get lost in it a few times before something asynchronously clicks in your head
@A-Karim20038 күн бұрын
@@kinstar how to do i have await before its syncs in?
@oliviaseymour32373 жыл бұрын
Hey! I watched a lot of videos, read a lot of articles, but only YOU explained these topics in a clear way! thank you!
@JamesQQuick3 жыл бұрын
Yesssss! Glad to hear it :)
@yangwilliam3137 Жыл бұрын
Spent 3 hours trying to figure these topics out. This explained it perfectly. Thanks James!
@JamesQQuick Жыл бұрын
YAYYY! So glad :)
@luxs3 Жыл бұрын
What I love about your video is that you don't just explain the code based on the syntax, but you give conrete examples in which it can actually be used. This also results in a very natural example for chaining promises (getting json from a response), which makes this super easy to grasp. Thank you very much for making this! Maybe you could take a look at using async await for concurrent callbacks as well?
@Flayer.14 Жыл бұрын
I agree, the chaining promises example was top notch, loved it
@jazy30913 жыл бұрын
Thaaaaaaaaank you! This is such a beautifully simple explanation of the whole thing, starting from callbacks to async! Please keep on doing great job.
@nikivyu3 ай бұрын
For the first time, I came across a helpful and well-organized tutorial on Asynchronous. Thank you, James!
@ChikereEzeh2 жыл бұрын
Best tutorial on async I have come across. I am 'new' to JS and will jump straight into async/await.
@soniablanche56723 жыл бұрын
If you're using the fetch api I recommand checking the value of "response.ok" because code 404 (or whatever code error the pokemon api sends back) is not an error for the fetch api because the server successfully sent back a response.
@paulokehie47923 жыл бұрын
hello sonia. do you have the link to the fetch api?
@YamilGonzales2 жыл бұрын
good suggestion, thank you. I just read about it, it makes sense
@EddieOlivas2 жыл бұрын
If you have this issue and it's a node or react project, try axios
@alang.20542 жыл бұрын
@@paulokehie4792 You can just literally google it
@FromRootsToRadicals_INTP2 жыл бұрын
Senior dev here and browsing around. Good clean clear vids.
@nemanjastankovic9413 жыл бұрын
This is one of the best programming tutorials I've seen for quite some time. Awesome 🤓
@bazileus1233 жыл бұрын
Srbija do tokija
@antonk21572 жыл бұрын
This seems like a good syntax and concept introduction, what it lacks is actual explanation on how exactly these calls are executed, in what queue, order over time etc.
@mattmjlg50532 жыл бұрын
I have to subscribe your content is invaluable. This is like the 5th video I’ve watched from you this week
@Balaji_Devadoss4 жыл бұрын
thats how you explain programming.. with examples ... great :)
@debhasish2 жыл бұрын
Thank you for the video, This is much much better than the 2h video on youtube about Callbacks, Promises, and Async/Await.
@goodwish15433 жыл бұрын
Best one on Async/Await I've seen so far. Excellent!
@DesignfulDev4 жыл бұрын
Asynchronous Javascript was definetly the most challenging topic for me to wrap my head around. Wish I had that explanation when I was learning!
@JamesQQuick4 жыл бұрын
Maybe we can make it easier for the future generations lol
@chris94kennedy3 жыл бұрын
@@JamesQQuick For me it's OOP. I use instructive or functional programming and shy away from class based oop. Async JS is ok if you watch a few good explanations of the event loop
@eldon90123 жыл бұрын
12:53 what is the shortcut to move the lines into the brackets? that is so cool!!
@Musikur3 жыл бұрын
Alt+Up/Down arrows. If you press shift+alt+up/down arrow it will duplicate the line, and if you press ctrl+alt+up/down arrow it will extend the cursor onto multiple lines allowing you to write something several times at once
@moeinsamani14672 жыл бұрын
The best video I have ever seen. You know what , I have found students need to know all the basics and fundamentals in programming, then they will be prepared for digesting more complex concept. the problem is the jump right into hell and it caused them to get burn out and give up. anyway, your video was fabulous.
@JamesQQuick2 жыл бұрын
Wow thank you!
@phoenix888media9 Жыл бұрын
You are the best teacher so far me! very easy to understand and very good examples and explanation.
@anandakumarthangaraju34384 жыл бұрын
One of the best clear cut explanation.👍❤️
@Remiisola Жыл бұрын
Gold mine for me. Thanks for making it easy to understand, thanks to all other videos that prepared my understanding to some level too .
@innocentniyonzima82782 жыл бұрын
in just few minutes I got inspired! , the way you confidently explain things is super. like you🤩my sub is added already. keep helping us sir
@fad9981 Жыл бұрын
Best video on JavaScript I’ve ever watched ❤
@Riyaz__ Жыл бұрын
This is the best explanation about the topic. Every other video only post setTimeout example. So i always wondered "what about other scenarios?". Now i understand this concept. Thank you very much.
@JamesQQuick Жыл бұрын
That's amazing to hear!!
@Hyuts2 жыл бұрын
Second most confusing to Neural Nets to me. Thank you so much for the succinct explanation!
@alibaba8883 жыл бұрын
I watched a couple of videos but only this one worked for me. Thank you for the amazing explanation.
@enterflux2 жыл бұрын
This was super helpful. All these asynchronous functions are so confusing and this was a great quick guide.
@uchihamadara28656 ай бұрын
11:45 why not just use .then() and .catch() that u talked about before ?
@uchihamadara28656 ай бұрын
really curios
@amventures13 жыл бұрын
I watched 5+ videos on the same topic, didn't understand the idea till I watched yours. Thank you!!!
@JamesQQuick3 жыл бұрын
Love to hear this!
@Noone-bb5qh10 ай бұрын
Thank you my man. This is going to help me a lot for my interview prep.
@NivBarchechet2 жыл бұрын
the best explanation i found. thanks alot, had been struggling with this for a while..
@shahzadahmad-vg2ou Жыл бұрын
I have been struggling with this concept while learning, This has helped, Thanks James😊
@JamesQQuick Жыл бұрын
YAS! Love to hear it!
@pranavmahajan41902 жыл бұрын
This helped my all doubts. thanks a ton.
@ammarhassan_4 жыл бұрын
Recently came across your channel via Twitter, Love ur videos.,It took me 2 yrs to understand callbacks (give and back) but it was worth it, I can now know it is working and how to create HOF.
@im2godly7502 жыл бұрын
Hi, I am new to JS but out of all the syntaxes I have learned from traditional to es6 and above, await async seems like easiest one to manage. In terms of updating the code and maintenance, async await is the way to go. It is more concise which makes it less prone to human error … You are a great teacher, the only thing I wasn’t familiar with in your video was the fs read only stuff… I get the gist of it, but I would like to learn more details. If you already made a vid on it I will find it your library. I am one of your newest subscribers. Thanks for the content❤
@theresasecore93723 жыл бұрын
Thank you so much for this explanation - I had a lightbulb moment while watching this video and I finally get it - Thank you!
@FacundoTroitero4 жыл бұрын
Thanks, I understand Asynchronous JavaScript better after watching your vid for a 2nd time (you go very fast so I didn't get much on the firs watch) 11:43 "it should safely handle this response". What is the point of the error handling in all the examples? Aren't the errors always logged in the console anyway? 12:20 why would you await res.json? what happens if you take the await keyword out in line 78?
@DmitriGoncharov3 жыл бұрын
You, sir, are a gentleman and a scholar! Thanks for posting!
@artabramov22543 жыл бұрын
the best explanation of asynchronous abstractions ever. Thank you!
@alimbolar6092 жыл бұрын
After many many many manyyyyyy attempts promises finally became clear.. thanks the video!..:-)..
@andredejesus74273 жыл бұрын
Watched this as a refresher and it went better than I expected! Thank you for this
@sokoyaadedolapo53214 жыл бұрын
I also like using async and await, when I first started it was promises then I started working with this developer who told me to always use async and await since then have been hooked if am writing any JS async and await will surely appear
@hakanus13 жыл бұрын
Hi James, this is one of the best concise video I have ever seen on some of the most difficult concepts in JS. Thank you very much for this.
@JamesQQuick3 жыл бұрын
So glad you enjoyed it!
@shonendumm2 жыл бұрын
This was a very clear explanation, I finally understand it now after 5 years. Thank you! I wish to learn require and import next. :)
@To-mos2 жыл бұрын
Man the web has changed so much since I started in '02. It's all so so much better now!
@nemtomism3 жыл бұрын
Good job! Thank you from Hungary!
@hamzahmd_3 жыл бұрын
What a comprehensive explanation of asyn javascript. Great!
@Diegps3 жыл бұрын
This video finally helped me to understand how async works. Thank you so much!
@RobbyNeale3 жыл бұрын
Fantastic video. Well prepared. Succinct. Everything I could have asked for.
@baay812 жыл бұрын
Great summary. Thanks a lot!! The last version is more readable for me too. I will adopt that.
@rsdbolso2 жыл бұрын
Async / Await all the way! Amazing video, very well explained!
@karennason65932 жыл бұрын
This was so helpful! Thanks James, you demystified this topic for me.
@alexkaufmann2923 Жыл бұрын
This video was phenomenal
@aaqib_aj2 жыл бұрын
Arguably the toughest concept of JS, explained so well!
@JamesQQuick2 жыл бұрын
So glad to hear that!!
@swapnildarge1609Ай бұрын
Thank you. I finally understood it. Subscribed
@elaizaespanola96522 жыл бұрын
You explain this so quickly and so easily. Thank you for your videos. Subscribed already!
@joebazooks3 жыл бұрын
`async` `await` is by far the most intuitive. i have struggled with async JS in the past. prolly the hardest part of JS for me too. i wish you wouldve went more in depth on async/await
@methujeraya3 жыл бұрын
It doesn't make sense. I get the promise part, but itdoesn't say why it waits for a result or if it does at all? Then it jumps to an async function that calls a prebuilt promise thing?
@iiWolff2 жыл бұрын
What a vídeo! Well done mate.
@SumoCumLoudly3 жыл бұрын
Good video, like the pace as someone who doesnt use JavaScript but knows programming. Its basically just like threads.
@tortingseloc18103 жыл бұрын
It was difficult to understand but with this video I get it! thanks
@VishalJangid12 жыл бұрын
Loved the video! As a java developer, even I prefer async await way!
@davidolaboye55493 жыл бұрын
1M likes for this video. I love the way you implement the code using different approaches. Thanks @James.
@jonathanhammond55634 жыл бұрын
I just finished a homework that imports inquire object then latches a prompt and a then(). I wanted to learn about async await and am going to use this video to try and rewrite the code (am learning node so may try to write parts of the code into modules as well). Thank you!
@Varuns36 Жыл бұрын
examples were practical, easy to understand tutorial
@ANDREPEIXOTO13 жыл бұрын
Subscribed! Great content 👏👏
@divababy29743 жыл бұрын
Thank you so much for this video! Finally somebody put them all together!
@rembautimes88083 жыл бұрын
Great video series, as a Pythonist, I'm watching this while painfully debugging a block of Typescript code.
@CodyCleggMusic3 жыл бұрын
Personal favorite video on the subject. Thank you!
@headlights-go-up3 жыл бұрын
You explained this so well, even has a noob I was able to follow along and understand. If you could just take all of your knowledge and put it inside of my brain via osmosis, that would be great.
@adalba.mp43 жыл бұрын
Another great video! Wich font do you use to code? I enjoyed a lot
@Toolie-u9w2 жыл бұрын
Information is given in super comprehensible way. Really like tutorials like this🖥
@abo14282 жыл бұрын
When it comes to performance and optimization, try-catch blocks require more resources than simple "if x==null" blocks. It also makes the code more readable if you check for null first, and in this case you exit directly from the method.
@amroabdulvahit95172 жыл бұрын
Thanks a lot, it helped me understand very well though I still have some struggle with promises
@Allysson6353 жыл бұрын
Great video as always! I keep wondering what it the Theme that you are using haha
@joelinman6455 Жыл бұрын
Thank you for this. Helped me to properly understand promises and asynchronous functions …I’ve been able to refactor a bunch methods in my project today too 😂
@JamesQQuick Жыл бұрын
So glad to hear that!
@heyyyyyworld3 жыл бұрын
Great explanation! Thank you!
@backtoGodhead03 жыл бұрын
Nice video James, a clarification - await keyword do the functionality of .then we use in resolve and reject way of handling a promise but rather it gives us access to the incoming response.
@joecolas4 жыл бұрын
thank you James for letting me understand better the JS Callbacks and Promises
@casualSimRacer331211 ай бұрын
Which IDE are you using? I love the way the cursor blinks.
@apresthus873 жыл бұрын
Maybe I'm just weird, but I tend to prefer Promises over async await. I personally find it more readable and intuitive, but both of them are much better than regular callbacks :) Great video!
@JamesQQuick3 жыл бұрын
Nothing wrong with having a preference!
@yashpawar95853 жыл бұрын
Hey I’m new to JavaScript and I saw the use of async await and later came to know about the legacy callbacks and promises methods which kinda confused me. Your video really helped me understanding the concept well. Thankyou and keep doing the great work!🙌🏻✨
@vinayr62322 жыл бұрын
Hey Yash!! Glad you found the video interesting.....would you be interested in opportunities in web development?
@SuperSamsosa2 жыл бұрын
At around 6:50 min why do you call line 47 a call back function. To me it looks like an ordinary function that console logs when promise reject function is triggered. Thank you in advance for answers and infos
@derickmoncado3 жыл бұрын
Great content man. Loved this!
@srilekayadav84213 жыл бұрын
It's is very good and informative session, tq so much james
@bencooper27533 жыл бұрын
Wow, very well put together. Very helpful.
@ploskovytskyy3 жыл бұрын
Big big thanks to you James! Awesome channel!
@onee2 жыл бұрын
How do you get the three horizontal lines when you type "==="?
@ЄвгенійБабенко3 жыл бұрын
Hi! James, thank you for these video. I appreciate you describe with good examples there.
@benjamin-lieb Жыл бұрын
Great video. One suggestion: It would be very useful to talk about return values from async/await. They are not obvious.
@JamesQQuick Жыл бұрын
Great suggestion. Thanks so much for the feedback!
@michaelreynoso22892 жыл бұрын
Great explanation, thanks man!
@anishjoshi19992 жыл бұрын
Thank you so much. You have no idea what this means to me.
@nonesomeone53573 жыл бұрын
I really like your videos James, so keep doing what you're doing. Thanks for your time and effort.⌨🖥💻
@TheCodingOdyssey4 жыл бұрын
Asynchronous behaviour was the hardest to understand for me as well. This is a very good explanation.
@JamesQQuick4 жыл бұрын
So glad it helped!
@fredguth13152 жыл бұрын
I like to watch your videos even when I already know the subject. I differ on you on the fact that I use callbacks a lot and I am always worried that by using await I am making my code slower, but the truth is that code readability is for most of the time much more important than a few imperceptible milliseconds here and there.