CS 4448 - Fall 1998
Object-Oriented Programming and Design
Lecture 6
Course Info.
- My design decisions on the course. Step back and Reevaluate.
- Were do we want to go from here.
- Jobs Info/Questions
- Oasis after next Monday's class. Informal hanging-out.
Homework #6
- Implement the new design we came up with in C++
- 2 Weeks on this one. Due Monday October 19.
- Beaker, BeakerHolder, Element, and Molecule must be implemented.
The other classes are left as an exercise which is highly recommended
for those with little C++ experience.
Chapter 4
- Constant Data... P.98 P.105
- call-by-value, call-by-address, call-by-reference
- Object Visibility and Lifetime Table 4.1
- Name space - examples of using them - namespace, using namespace
Chapter 6
- Constructors and Destructors are special methods
- Friend is not a good idea in most cases
- Inline Functions - not used with recursive functions
- Squeak and loading same class twice.
- Derive from nil crashes Squeak when super new is called.
- static in C++ vs. Class Variables in SmallTalk. Similar but not identical.
- Operator Overloading is polymorphism P.179 conversion.
Adam Jonathan Griff,
computer@griffmonster.com
Copyright © University of Colorado. All rights reserved.
Revised: October 5, 1998