curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

New lesson: Generator functions

Open nik-rev opened this issue 1 year ago • 0 comments

Checks

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.

nik-rev avatar Feb 08 '24 16:02 nik-rev