Introduction to Object-oriented Programming
- slide 5 : 22
Towards Object-oriented Programming
The gap between the problem and the level of the machine:
Fill the gap bottom up
Use the data as the basic building blocks
Data, and relations between data, are
more stable
than the actions on data
Bundle data with their natural operations
Build on the ideas of
abstract datatypes
Consolidate the programming constructs that encapsulate data (structs/records)
Concentrate on the
concepts and phenomena
which should be handled by the program
Make use of existing theories of phenomena and concepts
Form new concepts from existing concepts