Chapter 14
An object-oriented system is made up of interacting objects that maintain their own local state and provide operations on that state. The representation of the state is private and cannot be accessed directly from outside the object. Object-oriented design processes involve designing object classes and the relationships between them.
Object-oriented design is one phase of the development process:
An object is an entry that has a state and a defined set of operations that operate on that state. The state is represented as a set of object attributes. Objects created according to an object class definition.
In such a language as Java it is easy to take an object-oriented design and produce an implementation where the objects are concurrent processes. There are two kinds of concurrent object implementation:
The general process that is described in the book has a number of stages:
My thoughts
The concept of object-oriented design seemed really unnatural for me five or six years ago when I used to code with Visual Basic and Delphi. I’ve seen no sense in making things so complicated and abstract rather than just write the program you need using procedures, jumps etc. Today it’s the other way around – I don’t see any other way of programming something bigger that bash script.