Комментарии:
Coroutines vs subroutines
ОтветитьThreading is better
Ответитьyeah wtf!?? i just subbed 🎉
ОтветитьBut what would you be waiting for when programming if you are the only one working on it?
ОтветитьYour explanation is incredibly useful, and i like how you represented the Synchronous and Asynchronous programming.🎉
🎉
you explained it better than my Udemy instructor
ОтветитьSo how icloud of apple sync or async? I think it's asynchronous, right? 😂
ОтветитьThis example is also given in the Microsoft documentation of C#, however, I think it might feel incomplete for beginners. Let me elaborate: The example is pretty good to get the concept, but when people start implementing asynchronous methods at first, they don't really see the difference and might be left wondering. That's why I believe the concept of shared context of the main worker thread needs to be explained and also the beginners should be guided to think in a broader picture:
Let's say you're bulding an API. Try hitting some endpoints which are synchronous and then change their methods to be asynchronous and you'll see the difference. Asynchronous programming makes your code more usable, it doesn't necessarily start new threads, but it can also introduce race conditions.
I hope my comment is comprehensive, apologies if it is not.
I just called it parallel processing. But hey, asynchronous programming works, too
ОтветитьFinally I get it 😅. Thanks for simplifying it
ОтветитьNow i understand, thanks!
ОтветитьOkay Tim, when can we expect more in depth video with examples?
ОтветитьJavaScript is pathetic
Ответитьmulti-tasking...
ОтветитьI don't think pause is a good word for it you'll just end up confusing people.. Next
ОтветитьVery good explanation! Thx
Ответитьmultithreading basically ?
ОтветитьI remember when he used to make videos
ОтветитьWhich one is better ?
ОтветитьThank you Tim❤
ОтветитьBut the problen is when we stop cooking and go to another task the chicken still is on the fire how can you explain that?
ОтветитьYou didn't make it clear whether time stops in the oven or the cooking continues while you're on another task.
ОтветитьHey tim. Python is the most useless language. Prove me wrong
ОтветитьGreat analogy thank you!
Ответитьyou should also make a short about the difference between asynchronous programming and multi-threading 👍
ОтветитьCoool, so compared to threading and multiprocessing, are there particular use cases whereby asynchronous programming is beneficial; or just in general?
ОтветитьAn excellent analogy to demonstrate Asynchronous Programming. Great job as always, Tim.
ОтветитьYum chicken
Ответить