Session 28

Today we begin to consider some issues directly and indirectly from the material contained in chapter 9 about design.  Your book focuses on some issues, but I want to focus on some additional issues.

I started this discussion by revisiting the mergeSounds() method from this week.  This method actually works ONLY because we made a couple of significant discussions.  What would happen if we didn't make those assumption...

While there are multiple ways of doing this, we looked at the following

 

Once this was completed we started looking at the idea of testing a method.  We looked at the concepts of

 

Finally, we talked about the process of designing code