Chapter 19: Three Design Principles

 < Day Day Up > 



Learning Objectives

  • List the preferred characteristics of an object-oriented application architecture

  • State the definition of the Liskov Substitution Principle (LSP)

  • State the definition of Bertrand Meyer's Design by Contract (DbC)

  • Recognize the close relationship between the Liskov Substitution Principle and Design by Contract

  • Specify preconditions and postconditions for class and instance functions

  • Specify class invariants

  • State the definition of the Open-Closed Principle (OCP)

  • State the definition of the Dependency Inversion Principle (DIP)

  • Apply the Liskov Substitution Principle in the design and implementation of a class inheritance hierarchy

  • Apply Design by Contract in the design and implementation of a class inheritance hierarchy

  • Apply the Open-Closed Principle in the design and implementation of a class inheritance hierarchy

  • Apply the Dependency Inversion Principle in the design and implementation of a class inheritance hierarchy



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

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