Heuristics Summary

 <  Free Open Study  >  

Heuristic 6.1 If you have an example of multiple inheritance in your design, assume you have made a mistake and then prove otherwise .

Heuristic 6.2 Whenever there is inheritance in an object-oriented design, ask yourself two questions: 1) Am I a special type of the thing from which I'm inheriting? 2) Is the thing from which I'm inheriting part of me?

Heuristic 6.3 Whenever you have found a multiple inheritance relationship in an object-oriented design, be sure that no base class is actually a derived class of another base class.

 <  Free Open Study  >  


Object-Oriented Design Heuristics
Object-Oriented Design Heuristics (paperback)
ISBN: 0321774965
EAN: 2147483647
Year: 1996
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net