The Building-blocks of Object-oriented Design
According to A Theory of Object-Oriented Design, the rudiments ('building-blocks') in the ontology of object-oriented design are as follows:
Individual entities:
- Classes
- Methods
Higher-dimensional entities
- Uniform sets of entities (sets of classes, sets of methods)
- Uniform sets of uniform sets (sets of sets of classes, sets of sets of methods)
- Class hierarchies (sets of classes such that all inherit from one)
Relations:
- Simple relations ('method m1 calls method m2', 'class subcls inherits from class supercls')
- Total relations ('all the concrete collections inherit from the Collection interface')
- Isomorphic relations ('each factory method creates and returns instances of a distinct product class')
Read more about this topic: Object-oriented Design Ontology
Famous quotes containing the word design:
“If I knew for a certainty that a man was coming to my house with the conscious design of doing me good, I should run for my life ... for fear that I should get some of his good done to me,some of its virus mingled with my blood.”
—Henry David Thoreau (18171862)
Related Phrases
Related Words