What are CoRoutines in Programming?

preview_player
Показать описание
👉 Channel Name changed because of Rebranding Exercise. Existing Social media handles and links are no longer valid.

Co-Routines provides some of the most advanced and awesome ways of writing multi-functional code. Unfortunately most of the time, people misunderstood co-routines as generally see this as a construct of multithreading.

Though co-routines have wider applicability with multithreaded programs, it has nothing to do with threads. It's just a way of having functions cooperating with each other.

I've created a short 4 min video to explain the idea and working of co-routines. I hope it will be able to make you understand the concept.

#programming #coding #functionalprogramming #codequality #coroutines
Рекомендации по теме
Комментарии
Автор

Thank you, it is really helpful.
Coroutines are everywhere in different forms, as you already defined "yield" is one of the keywords which is available in most modern OOP languages.

sabitkondakc
Автор

Very well explained, thank you for sharing.

XlnThPi
Автор

Finally someone made it understandable.

AlberTesla
Автор

I've been struggling for a long time to understand how coroutine until now, Thanks

zakaria.morchid
Автор

Great video! Short and to the point, well explained. Thanks.

srividyakrishnakumar
Автор

Very intuitive way of explaining. Thanks!

robertsedgewick
Автор

Great explanation !! Thank you so much .

thanakornprayoonkittikul
Автор

How can I like this video a hundred times?

tayeabidakun
Автор

Excelent explanation, I couldn't understand this topic but thanks to you I see it now like something very easy

videossatisfactorioscadad
Автор

thanks, it explaines really well how those works!
I however, fail to see a case in which those coroutines can be useful (I always just see it easier and cleaner to use multiple functions)
Do you have any examples were coroutines are needed?

az-kalaak
Автор

"misunderstood co-routines as generally see this as a construct of multithreading." i'm so sorry but by looking your video, i was this type of person thinking multi-Thread is a sub-class of co-routine :c . But you are maybe saying it's not a sub-class, it's a different class.

Fine_Mouche
Автор

Thanks so much. This clearly explains the seemingly elusive concept of coroutine. Do you have any playlist on it?

judeleon
join shbcf.ru