I'm afraid I don't get your point.
So deep copy is expensive, and if the variable is immutable and has to be changed, it would have to be deep copied. so immutable is bad?
Or are you trying to say even if it's expensive, the original variable not being corrupted is more important? I know there would be some variables that shouldn't be changed in some programs. but for this need I don't think immutable variables are necessary.
Shouldn't we focus more on the aspect of performance?
Thanks for the input! Please enlighten me.