pass-by-copy
In Assignment for mutable records , we saw a combination of pass-by-value and pass-by-reference.
An alternative is the perform deep copy. This is called pass-by-copy.
We duplicate property values and store them in new locations.
In Assignment for mutable records , we saw a combination of pass-by-value and pass-by-reference.
An alternative is the perform deep copy. This is called pass-by-copy.
We duplicate property values and store them in new locations.