Overview
We will tack on Monday, November 24th to this week
, so it will
include plans for 3 class meetings. We will use this time to complete
Chapter 12:
Vectors of objects.
Monday, November 24th
Classwork / Homework / Evaluation
We'll start class with a brief discussion of the results of your second git repo evaluations.
There will be no homework assignment during Thanksgiving break, so today is an ideal day to watch the second of the two Uncle Bob videos I promised you, Clean Code: SOLID Principles, Episode 8.
As you watch the video, be prepared to answer the following questions afterward:
- What is code rot, and why does it happen?
- What is the design of a software product?
- According to Uncle Bob, what is the essential characteristic of Object-Oriented design?
Create a markdown file in your git repo named essence_of_oo.md
where you answer these questions. I'm looking for a serious answer to the last
question in particular that shows you understand what what presented in the
video.
Thursday, November 20th
Classwork
Shout out to Mason for getting right down to business during the last class
and trying out the examples from chapter 12. That led him to discover a few
issues with getting the Card code to compile, which lead me to
update
Chapter 12 Exercise Set 0: Chapter Review with more support for learning
the TDD
process we want to learn.
We'll use class time to work together completing the first several exercises, leaving the rest for homework. Due Sunday, November 23 at 12:00 noon to give me time to evaluate it.
Homework
Complete whatever exercises from Chapter 12 Exercise Set 0: Chapter Review and as much of Chapter 12 Exercise Set 1: Factions Case Study as your homework time permits.
Tuesday, November 18th
Classwork
We'll begin class by reflecting on what we can learn from our last programming assignment. The grade distribution was: A: 6, B: 4, C: 2, with no D's or E's. That not bad at all, but I think we can have even more A's next time, since evidence suggests you all understand the process now, and just need to put in the time.
Note: A few of you told me you had problems with
vim swap files.
Take a look at the .gitignore and in
José Ejemplo's CSC 221 repo
and copy the section that begins with: # ---> Vim to keep
them from ever appearing in your repos again.
Today in class we'll have the pairs assigned last week present solutions to their assigned exercises. For easy reference here they are again:
Sean and Arya will present Set 0 Exercise 1. Waleed and Delanie will present Set 0 Exercise 2. Evan and Giselle will present Set 0 Exercise 3. Dimitrios and Stephan will present Set 0 Exercise 4. Mason and Antoan will present Set 0 Exercises 5 and 6. Robbie and Nathan will present a refactoring of interrogate_env.cpp.
Homework
Read Chapter 12:
Vectors of objects, taking notes in a markdown file named
ch12notes.md, and trying the examples from the chapter yourself
and commiting them to your git repos. Trying the examples
here means
typing out, compiling, and running the code, which should be accompanied by
several commits to your git repo.