<div dir="ltr"><div dir="ltr">On Thu, Aug 11, 2022 at 1:08 PM Brian Goetz <<a href="mailto:brian.goetz@oracle.com">brian.goetz@oracle.com</a>> wrote:<br></div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

  
  <div>
    <font size="4"><font face="monospace">We may be circling around the
        terminology block, but let's try on not calling an int or a
        Point "a value" without some sort of modifier.  <br>
        <br>
        Let's try "value object" rather than just "value";</font></font></div></blockquote><div><br></div><div><div>Just to be clear, this is about VAO, and under VANO we would still have distinct meanings for "value" and "value object":</div><div><br></div><div><font face="monospace">An instance of...  Is a...</font></div><div><font face="monospace">String             identity object</font></div><div><font face="monospace">int, Foo.val       value</font></div><div><font face="monospace">Integer, Foo       value object</font></div><div><br></div></div><div>I agree that what you said is the right way to present VAO. And I do see the appeal of the story that goes, "when you used to decide between int and Integer, that was a weighty decision -- is it going to be an object or not? But now the distance is much closer; it's an object either way, and the question is only about whether you want a <i>reference</i> in the middle. If that sounds expensive, well, realize it's a much lighter weight object, a value object."</div><div><br></div><div>VANO's story there is more like, "you're still deciding between an object or value; specifically a <i>value object</i> or a value. But now the distance is much closer, because value objects are so much lighter weight than identity objects."</div><div><br></div></div><div>I'll repeat that I really don't know yet which of VAO/VANO will prove best, and also I'm aware of being the only real VANO cheerleader at this point. It would be nice to widen the net, but it's hard to get an easy off-the-street opinion from developers about this, given that each model has its own long tail of weirdnesses/surprises in store, that won't be represented in the (predictably strong) gut reactions.</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="line-height:1.5em;padding-top:10px;margin-top:10px;color:rgb(85,85,85);font-family:sans-serif"><span style="border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px">Kevin Bourrillion |</span><span style="border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px"> Java Librarian |</span><span style="border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px"> Google, Inc. |</span><span style="border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px"> <a href="mailto:kevinb@google.com" target="_blank">kevinb@google.com</a></span></div></div></div></div></div></div></div></div>