Articles or Turorials on Aggregation??

  • Thread starter Thread starter SenthilVel
  • Start date Start date
"Alan Pretre" <no@spam> a écrit dans le message de Oo6S%[email protected]...

| Yes, well there appears to be some confusion in nomenclature.

Hmmm, this is interesting but disturbing. I have always assumed the UML spec
to be the authoritative source, but can see where the confusion has
occurred. Here we have a single source of teaching on the subject stating
both side of the argument at the same time !!!

If I were you, I would take the UML spec as *the* way as it has not changed
for at least ten years that I am aware of. Certainly if you are using UML to
communicate design, anyone else that knows UML should understand that
aggregation = ref and composition = value.

Joanna
 
"Jon Skeet [C# MVP]" <[email protected]> a écrit dans le message de (e-mail address removed)...

| And given the problems people already have due to the word "reference"
| being overloaded with parameters being passed by reference or being
| references passed by value, I suspect it would only introduce more
| confusion.

Dontcha just love it when two people can talk the same language and hear two
different things ?


OK, so maybe we should all talk UML :-))

white diamond = loose containment
black diamond = owned containment

Joanna
 
Hi,

Jon Skeet said:
And given the problems people already have due to the word "reference"
being overloaded with parameters being passed by reference or being
references passed by value, I suspect it would only introduce more
confusion.

And do not forget "object " depending of who and where it's said it means
either instance of type
 
No. It cannot _introduce_ more confusion since "containment by
reference" is
the exact wording used by Booch well over 16 years ago in his discussion
of
Aggregation :)

Regards,
Jeff
And given the problems people already have due to the word "reference"
being overloaded with parameters being passed by reference or being
references passed by value, I suspect it would only introduce more
confusion.<
 
Back
Top