• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Aggregation and Composition (Yet Another Topic)

 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, I've done my homework: read the whole UML Distilled book by Fowler and through the UML specification. I understand the difference between Aggregation and Composition, but I know that many programmers don't. In a profeesional environment I probably wouldn't use those concepts in a diagram, because this would certainly motivate endless philosophical discussions regarding their meanings. I would instead use only associations and multiplicities to make things as clear as possible.

Though, here we are trying to earn the SCEA title, and this is my question: in the realm of the certification, Aggregation/Composition should be used? Must be used? Has anyone ever submitted an assignment without them and passed with a good grade?

Your comments are much appreciated.
 
Ricardo Ferreira
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Philip Pomario:
Guys, I've done my homework: read the whole UML Distilled book by Fowler and through the UML specification. I understand the difference between Aggregation and Composition, but I know that many programmers don't. In a profeesional environment I probably wouldn't use those concepts in a diagram, because this would certainly motivate endless philosophical discussions regarding their meanings. I would instead use only associations and multiplicities to make things as clear as possible.

Though, here we are trying to earn the SCEA title, and this is my question: in the realm of the certification, Aggregation/Composition should be used? Must be used? Has anyone ever submitted an assignment without them and passed with a good grade?

Your comments are much appreciated.


Philip Pomario,

IMHO, aggregation and composition are a piece of information that really matters at any technical architecture. For example, composition between two classes means that are lifecyle dependendy there. You can't be more specific using another technique to emphatize that two classes are dependent by lifecycle (eg: Order, Item).

So, I think that should be nice if you consider to use that!

Regards,
 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your comments Ricardo, they were helpful!
Anyone else volunteers to comment on this topic? All opinions are welcome!
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Philip Pomario:
Guys, I've done my homework: read the whole UML Distilled book by Fowler and through the UML specification. I understand the difference between Aggregation and Composition, but I know that many programmers don't. In a profeesional environment I probably wouldn't use those concepts in a diagram, because this would certainly motivate endless philosophical discussions regarding their meanings. I would instead use only associations and multiplicities to make things as clear as possible.

Though, here we are trying to earn the SCEA title, and this is my question: in the realm of the certification, Aggregation/Composition should be used? Must be used? Has anyone ever submitted an assignment without them and passed with a good grade?

Your comments are much appreciated.


What your question is? Should we use aggregation/composition in design or not? or Should we differentiate these two in design?
 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question was: must/should we use aggregation and composition in design? If not used, would we lose points?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic