Are composition and aggregation usually treated the same? But they are different, and the choice to be used varies a lot? For example, for example:
I believe that aggregation would be ideal for testing. But there is no composition.
Maintaining addictions is pain when using aggregation, but less use of composition.
Are there any similar views on the same? which to choose if it is based only on "partial" and "has-a."
source
share