New lesson: Generator functions
Checks
- [X] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- [X] I have thoroughly read and understand The Odin Project Contributing Guide
- [X] Would you like to work on this issue?
Describe your suggestion
I feel like generators is the one major topic not covered by the JavaScript section. I've included a draft to how I feel a lesson on generators could be added to the curriculum.
Path
Node / JS
Lesson Url
Right before or right after Weather App Project
(Optional) Discord Name
Revenco
(Optional) Additional Comments
The lesson only includes some basic concepts about generators, it is possible that we may want to add extra content to the lesson itself such as the mentioned delegation or asynchronous generators. As this is a draft, I included the main idea to get the information across.
In terms of where I'd place it in the curriculum, it would be either before or after weather app. Since asynchronous generators are a big thing, it makes sense to place this lesson in the asynchronous JavaScript section. Generators should definitely come after the learner has been introduced to promises, async/await as the material introduced in the assignment section would heavily build off of existing knowledge of asynchronous JavaScript.