Thank you. This is the best explain Generator javascript video in YouTuBe.
@dcode-software5 жыл бұрын
No probs mate and thank you!
@elielhdz25034 жыл бұрын
I really liked the order in which you presented the examples and how clearly you articulated the concept. Thank you for your time and effort in putting this video together, brother!
@markbordelon16014 жыл бұрын
As previously commented, this is the best explanation of Generator Functions on the web. Congrats! What can you do with promises, async and await? Already done?
@dcode-software4 жыл бұрын
Hey thanks! Yes, I've got videos on those topics on my channel
@ozzyfromspace2 жыл бұрын
It’s really cool how you can “take your time” performing an expensive synchronous operation without actually blocking the JS event loop, kinda like the while loop example from earlier. It’s like generators walk that fine line between sync and async functions. Very neat stuff!
@preetamvarun9219 Жыл бұрын
Thanks for the great video on generator functions in JavaScript! Your explanations were clear and easy to follow, and your examples were really helpful in understanding how generator functions work.
@Imaver3 жыл бұрын
Awesome explanation! Thank you very much for super detailed and clear way of describing it! You have really high level of simplifying complex things - just awesome!
@dcode-software3 жыл бұрын
Awesome, thank you!
@SanderBruggeman4 жыл бұрын
Very good explanation, thank you! Just couldn't get my head wrapped around why generators could actually be useful, but this gives me a better idea! Although it's probably out of the scope of this video, it would be nice if you made a copy of the passed array in the last example instead of a reference to it, because now you're mutating (emptying) the array that is passed outside of the function, which is probably not wat you want ever!
@ngneerin3 жыл бұрын
This is Gold. Need more like this
@joseidarraga15883 жыл бұрын
Great video! First video with such simple and detailed explanation of this topic
@dcode-software3 жыл бұрын
Mate you're welcome
@asokthegreat77812 жыл бұрын
Thanks for the great explanation
@vladislavamarkova83793 жыл бұрын
So good explanation! Thank you very much! It was really helpful and interesting!
@rakeshchoudhary72985 жыл бұрын
Thanks bro.. You deserve to have more subscribers
@dcode-software5 жыл бұрын
No worries :) and thank you, one day hopefully!
@Ctrl_Alt_Elite4 жыл бұрын
Thanks so much, you're a ⭐ what an amazing explanation! You made it so easy to understand how Generator Functions work, and I only had to watch it once lol 😀 Legend
@nickeax3 жыл бұрын
Thanks for a great explanation of Dave Grohl's favorite part of ES6.
@anasaljawa8582 жыл бұрын
good explanation, thank you!
@Kawaiiization4 жыл бұрын
Very well done! Thanks mate!
@dcode-software4 жыл бұрын
No worries, mate!
@arthur8888ab4 жыл бұрын
Thank you! Very well explained.
@jinge89432 жыл бұрын
Good explanation. You copied the parameter array into the array available which means has the same memory. So argument array inputed will be empty after executing for loop.
@dgroh4 жыл бұрын
Very good explanation, thanks. The unique function actually does not return unique names, you are just removing elements fro the array and making it randomly?
@ilirbajrami29022 жыл бұрын
How do we use return inside the while loop after the yield? i want to display all the input fields after iterating through them.
@JustGamingJG3 жыл бұрын
does using generator function with for of loop consumes less memory than simple for loop?
@RachitMalvi4 жыл бұрын
Thanks dcode :)
@dcode-software4 жыл бұрын
No worries mate
@webdevclimb75424 жыл бұрын
Thank you!
@GamingMasterYT3 жыл бұрын
What VS Code theme is that?
@jamesmassa19993 жыл бұрын
Hey Dom, when you have useful stuff like this, if it isn't to much trouble could you let me know. : ) Thanks. Good Stuff!!
@lu-vuongle45325 жыл бұрын
Awesome!
@dcode-software5 жыл бұрын
You know it mate
@brads215 Жыл бұрын
Hi Dominic! I love your videos, including this one. However, I am not able to get my puny little brain to imagine what this will be used for (an example of a use case). I will probably be surprised by that before the video is done. I wrote this at 7:30....
@theskydeath4 жыл бұрын
Which keyboard do you use?
@utkarshkukreti2393 жыл бұрын
Soundy keyboard
@noherczeg3 жыл бұрын
In the last example you are copy-ing by reference, therefore mutating the input it self. Video is nice, although I'd have appreciated different examples, because all of these can be done with plain classes.
@HoangHuy-nq1if5 жыл бұрын
gd job
@eduardohernandez5523 жыл бұрын
After some time I just discovered this. I guess you were looking for this comment lol
@ratasobreviviendoenlascloa48473 жыл бұрын
Lo bueno es que se ingles XD.
@saitcihangiraldemir52143 жыл бұрын
You are not a good tutor. You are repeating yourself constantly and not showing much at all. I watched it at 1.75 speed to actually not waste my time and it was still 10 minutes too long