3 ms·
What is your issue with mutable strings? I've been a heavy Ruby user for 16 years and have never really thought about strings being mutable... what negative eff
by cortesoft 5y ago
What is your issue with mutable strings? I've been a heavy Ruby user for 16 years and have never really thought about strings being mutable... what negative effect does it have?
- 3pt14159 5y agoIt allows for certain classes of exploit and is not worth the cost for the negligible performance gain in 99.99% of the situations. Before there was a comment to disable them I would see codebases littered with .dup or .freeze.