Composition (computer science)
From Free net encyclopedia
(Difference between revisions)
Revision as of 00:40, 20 June 2005 TakuyaMurata (Talk | contribs) object composition is not unique to OOP ← Previous diff |
Current revision TakuyaMurata (Talk | contribs) object composition is not unique to OOP |
Current revision
In computer science, composition is an act or result of combining simple objects, types (a composite type is commonly known as structure or record.) and subroutines into more complex ones. The term composition is used in two different realms, namely
- Object composition - combining several objects into one object.
- Function composition originating from mathematics.
The two concepts have little in common.