Open d-unsed opened 7 years ago
I think having the Rust way is preferable. We can manage the context of ownership like we normally would in Rust. We can let each language behave in their own way and this won't lead to surprises. I like being able to define the ownership in my own programs.
Ruby internally has most objects act as CoW.
Consider the following example:
vs
It needs to be decided whether to take objects references (Ruby way) or by values (Rust way).