P.Gowsalya
140405
KEY
ABSTRACTION
A key abstraction is a class or object that forms part of the
vocabulary of the problem domain.
Identification of key
abstractions
invention
Through discovery, we come to recognize the abstractions
used by domain experts if the domain expert talks about it, the
abstraction is usually important .
Through invention, we create new classes and objects that are
Refining Key
Abstractions
Once we identify a certain key abstraction as a candidate,
we must evaluate it.
As Stroustrup suggests, often this means that the program
abstraction is difficult.
Sometimes we may find a general subclass and so may
Naming Key
Abstractions
Naming things properlyso that they reflect their
Identifying
Mechanisms
Mechanism to describe any structure whereby objects
collaborate to provide some behaviour the satisfies a
requirement of the problem.
Consider a system requirement for an automobile:
Designs
A mechanical linkage connects the accelerator directly to
11
Object Identity
Object State
Object behaviour
Some OO
Terminology
The following characteristics are
Conventional Structured
Programming Approach
Data
Data Access
Method
Call
Method
13
Benefits of OO Design
Objects are more stable building blocks for
14
15
THANK U