4 ms·
>> * Mutable strings > I love these! No need for messing around with `StringBuilder` and the like. But if I get a string passed to me and want to hold on to i
by ptx 8y ago
>> * Mutable strings
> I love these! No need for messing around with `StringBuilder` and the like.
But if I get a string passed to me and want to hold on to it for later use, I can't be sure that someone else holding a reference to it won't modify it after I got it, right? So I will have to make a copy to be safe. Or does Nim solve this somehow?