CoP #2
Saturday, April 6, 2024
Proposed Schedule
Time | Activity |
---|---|
8:30 - 8:45 | Community Time |
8:45 - 10:15 | Daily Instruction Techniques Activity |
10:15-11:30 | Code Style/Quality Activity (see below) |
11:30- 12:30 | Mid-Program External Evaluation |
Feedback and Reflection |
Code Quality
This activity is done in two parts.
PART ONE
Consider this handout with 4 solutions to the same assignment from the FOP class (the original instruction are https://www.cs.uni.edu//~schafer/cohort23/FOP/lessons/Unit2/w9/GP/index.html)
Examine the four solutions. Consider:
- Which one(s) do you find readable? Why?
- Which one(s) do you find challenging? Why?
Note, each solution may have elements from both categories.
Begin a list of things that you think make code "good" vs "bad"
Related to this, but really a separate issue, what makes code "readable" vs. "hard to read"
PART TWO
Repeat with several more programs.
Create a list of
-
things that programmers SHOULD DO that helps make their code readable
-
things that programmers SHOULD AVOID that makes their code less readable