Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move up conditionals? #445

Open
sstevens2 opened this issue Oct 1, 2019 · 3 comments
Open

Move up conditionals? #445

sstevens2 opened this issue Oct 1, 2019 · 3 comments
Labels
help wanted Looking for Contributors type:discussion Discussion or feedback about the lesson type:enhancement Propose enhancement to the lesson

Comments

@sstevens2
Copy link
Contributor

As mentioned in as number 7 in #432, a looping exercise requires conditionals.

In addition, the exercises in the Writing Functions episode : "Find the First" and "Encapsulate of If/Print Block" also use conditionals before the conditionals episode.

Perhaps the conditional episode needs be moved up before loops?

@sstevens2
Copy link
Contributor Author

It might be an issue of cognitive load but perhaps since the two are often intertwined we should teach loops and conditionals in one episode?

@sstevens2
Copy link
Contributor Author

When I taught this, I ended up moving the conditionals up into the loops section. It was maybe a little awkward because I did it somewhat on the fly but otherwise seemed to work pretty well.

@alee alee added help wanted Looking for Contributors type:discussion Discussion or feedback about the lesson type:enhancement Propose enhancement to the lesson labels Mar 11, 2021
@martinosorb
Copy link
Contributor

I would tend to agree. The potential of for is much clearer when we have conditionals. This is also related to an existing discussion (#636) on the for loop example being not great, and to a general discussion on the order of episodes (#548).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Looking for Contributors type:discussion Discussion or feedback about the lesson type:enhancement Propose enhancement to the lesson
Projects
None yet
Development

No branches or pull requests

3 participants