Lecture 9: Information hiding and objects
Lecture 9 Information Hiding and Procedure-Based Architectures, including Abstract Data Types and Objects
.
Context
.
Overview
.
Main Program/Subroutine Pattern
.
Main Program and Subroutines
.
Recurring Course Theme: Criteria for Modularization
.
Problems Facing Software Developers c. 1970
.
Modularization Problems
.
Module Decomposition
.
A7E Module Decomposition
.
Example: Data Banker Module
.
Abstract Data Types
.
Encapsulation
.
Data Abstraction or Object-Oriented
.
Object Architectures
.
Maintaining Representation Invariants
.
Objects: Vocabulary
.
Finding Objects: Model the Real World
.
Problems with Object Approaches
.
Managing Large Object Sets
.
Managing Many Definitions
.
Inheritance
.
Inheritance
.
Polymorphism/Dynamic Binding
.
Polymorphism/Dynamic Binding
.
To Summarize: Elements of Object Architectures
.
Example: Flight Simulation
.
Object Oriented Decomposition of Air Vehicle
.
© 1998 Carnegie Mellon Computer Science
Back
Heather L. Marko
Modified: 5/20/98