First Draft: Static Single Assignment
Peter C
peterc at gmail.com
Sat Dec 6 04:20:14 UTC 2025
On Saturday, 6 December 2025 at 04:19:12 UTC, Peter C wrote:
> On Saturday, 6 December 2025 at 04:16:59 UTC, Peter C wrote:
>>
>>..
>
> Correction to previous post:
>
> "final can protect a reference to an object, **without**
> forcing immutablilty on the object itself.
argH! cannot edit posts!!!
another correction:
Foo f = new Foo();
f = new Foo(); // oops, lost the original object.
vs:
final Foo f = new Foo();
f = new Foo(); // Error: cannot modify `final f`
More information about the dip.development
mailing list