I'm trying with this question to draw a line between which question is specific of the technical side, programming and which I'm not sure if it qualifies, and if not, where to place it?
Particularly is about correct usage of composition and aggregation when designing, given an example.
Let's say I have a ElementCollection Class and an Element Class the relationship between them is an aggregation or composition?
It's not the same as "Car and Engine", or "Car and neon lights" because the Collection may exist without items, but it's pointless.
So, is Stack Overflow the correct Stack Exchange site to put it?
ElementCollection
class, certainly is a composition. It's sole purpose is to contain theElement
class instances.