Re: [External] : Re: Objects vs. values, the continuation

2022-04-25 Thread forax
- Original Message - > From: "Brian Goetz" > To: "Remi Forax" > Cc: "Kevin Bourrillion" , "valhalla-spec-experts" > > Sent: Monday, April 25, 2022 1:57:28 AM > Subject: Re: [External] : Re: Objects vs. values, the continuation

Re: [External] : Re: Objects vs. values, the continuation

2022-04-25 Thread Brian Goetz
I think what is missing from our presentation — and likely key to succeeding — is how to describe “compound value” in a way that feels like a thing. Well, a `double` is already a compound value that feels like a thing. Java just hides the internal structure instead of having us access d.exponen

Re: [External] : Re: Objects vs. values, the continuation

2022-04-24 Thread Brian Goetz
I agree totally, the former are semantic properties and the latter is a side effect of representation. But that doesn’t help us much, because if people assume that these have the same finial field safety / integrity properties as reference objects, they will be in for a painful surprise. So th