Re:John Carmack on Mutable Variables
by Thorrez on Saturday November 01, 2025 @09:50AM
(#45781637)
Depends on the language. In C++
foo is a constant object reference cannot have its properties changed (and also cannot be changed to refer to a new object).
Is an object reference that can have its properties changed (but cannot be changed to refer to a new object).
[ Parent
| on HN ]
There are no comments on this comment yet.