Re:Why Ruby Has Symbols
by noneeeed on Thursday April 14, 2022 @07:22AM
(#31025406)
It's optional. By default strings are mutable, but you can freeze them individually, and you can set a directive that makes all string literals as immutable on a file-by-file basis.
[ Parent
| on HN ]
There are no comments on this comment yet.