Lecture 08: Information Hiding and Objects
Lecture 8 Information Hiding and Procedure-Based Architectures, including Abstract Data Types and Objects
Context
Overview
Main Program/Subroutine Pattern
Main Program and Subroutines
Main Program/Subroutine Pattern
Today s Quiz
Recurring Course Theme: Criteria for Modularization
Problems Facing Software Developers of 1972
Modularization Problems
Module Decomposition
A7E Module Decomposition
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
Remark on Cruise Control Example
Another (Simplistic) View: Program in C++, Smalltalk, Ada ...
Alternative Views of the Object Style
Problems with Object Approaches
Managing Large Object Sets
Managing Many Definitions
Inheritance
Objects
CORBA
OLE2 ==> ActiveX
To Summarize: Elements of Object Architectures
© 1997 Carnegie Mellon Computer Science
Email the
Current Maintainer
Modified: 01/29/97