Code Set #3 - What does "good" code look like?

Let's continue the activity from earlier in the week and look at some additional elements by considering functions as well as code with multiple pieces to the solution (the code we looked at when we were working with files).

I expect it to take ~60 minutes to complete this

 

The assignment

For each of the 4 programming assignments that are listed above I would ask you to:

  1. Review the actual program requirements by looking at the "Original Assignments" page.
  2. Consider the examples listed for that assignment.
  3. For each of the examples identify elements of the solution that you think are "good" and elements that you thing are "less good" or "to be avoided" by programmers who are gaining skill at writing code.
  4. Add any additional notes to the document you started with CodeSet #1 and CodeSet #2