Re:Copying data is wasteful, mutating data is dangerous
by masklinn on Thursday January 09, 2020 @02:07PM
(#22004345)
Rust would be very different and the problem wouldn't exist in the first place, because the function would signal its behaviour and intent through taking the parameter by reference, mutable reference or value.
[ Parent
| on HN ]