On 23 Dec 2021, at 11:26, fo...@univ-mlv.fr wrote:

For "value", we know that we want value class and value record, so it's more like a modifier. For primitive, do we want a primitive record ? The VM supports it, but do we want to offer that possibility in Java ? My gut feeling is that the answer is "No" because of what Kevin said earlier, we should drive users to use value classes instead of primitives.

Good points, though not sure if they carry the decision completely the other way. The VM sees primitive as a classfile modifier. (The `ACC_PRIMITIVE` modifier flag!) You are raising the question of whether this is smart for the language as well. For further discussion and perhaps experimentation.

Reply via email to