Organizing Code

Description:

Organizing Code

The purpose of the lesson is to foster strong organizational strategies in code while allowing students to develop their own strategies for organizing code. The students are assessed on their ability to organize and label code through observations, the activity guide, and the inevitably fixed (or not fixed) code. Students are then expected to use organizational strategies to keep their code organized and readable in future lessons and projects.

This lesson is designed to supplement (and designed to look like) the Code.org Discoveries curriculum. However, if desired, this lesson can be tailored to any programming language. I am hoping to, in the future, add a version of this lesson to all of the programming languages that I teach.

Key Question:

How can talking through my code help me solve logic and syntax errors in my programs?

Lesson Duration:

45 minutes

Resources: