generic specialization design discussion

Doug Lea dl at cs.oswego.edu
Mon Apr 8 23:50:24 UTC 2019


On 4/8/19 6:44 PM, John Rose wrote:

> If we move terms around so "value" gets replaced by "inline",
> and "reference" by "indirect", only the first two lines are
> affected:
> 
> “inline object”, “indirect object” (also inline or indirect instance)
> “inline class”, “indirect class” (also inline or indirect type)
> 

It would be nice not to use new terms for old concepts (even if new to
Java). For alternative terminology originally stemming from similar
struggles to make such distinctions, see UML "Composition" vs
"aggregation" (also vs "association"). Wikipedia has some definitions:
https://en.wikipedia.org/wiki/Class_diagram#Aggregation

The UML specs say more but behind wall at https://www.omg.org/spec/UML

-Doug



More information about the valhalla-spec-observers mailing list