Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Aggregation and Composition (Yet Another Topic)

 
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.
 
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!
 
Ranch Hand
Posts: 3851
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic