3 ms·
> Btw, OCaml also transitioned from read-write Strings to read-only Strings Ruby is not doing that, it's transitioning from mutable strings that can be frozen
by dragonwriter 1y ago
> Btw, OCaml also transitioned from read-write Strings to read-only Strings
Ruby is not doing that, it's transitioning from mutable strings that can be frozen with no special treatment of literals (unless you opt-in to literals being frozen on per file basis) to mutable strings with all string literals frozen.