Chapter Six. A Few Words on Classes

 <  Day Day Up  >  

BEFORE CONTINUING WITH THE SPECIFICS OF SAM'S DESIGN , we look at object-oriented design in general. We review the class maxims of cohesion and coupling, along with the three laws of objects. Polymorphic behavior is demonstrated with both inheritance and interfaces. We examine reuse of implementation explicit naming.

 <  Day Day Up  >  


Prefactoring
Prefactoring: Extreme Abstraction, Extreme Separation, Extreme Readability
ISBN: 0596008740
EAN: 2147483647
Year: 2005
Pages: 175
Authors: Ken Pugh

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