3 ms·
You can use setters that return a reference to a new object with the updated says, using some copy and delete mechanism for immutability.
by ecshafer 9y ago
You can use setters that return a reference to a new object with the updated says, using some copy and delete mechanism for immutability.