News for hackers. Stuff that matters.
Re:Copying data is wasteful, mutating data is dangerous by gowld on Friday January 10, 2020 @09:44AM (#22011229)
For the read case, do you mean that in nonbranching code, a read can be considered a destroy+create that cancel out? How is that legal if the reads are also writes into other variables, or copied into an array/tuple and returned to a caller? That seems a clear violation of linearity.

Also, that doesn't seem true for branching structures, but I guess technically in an immutable language loops iterations are recursive functions.

There are no comments on this comment yet.