News for hackers. Stuff that matters.
Re:Copying data is wasteful, mutating data is dangerous by anaphor on Thursday January 09, 2020 @05:41PM (#22006679)
There are also data structures such as zippers which are immutable but minimize the amount of data you need to copy, at the cost of potentially using more space overall. Zippers are cool because they can be generalized to many different types of data structures as long as they can be expressed as algebraic data types.

There are no comments on this comment yet.