Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: