Lesson 28.5 Generator Design
From Hannah Lee on December 3rd, 2020
Now that we know how generators work, it is time to write our own. In this video we show how easy it is. We just take out experience with the accumulator pattern and replace the accumulator with a yield.