link: DevelopersMeeting20150820Japan - String literals are frozen (immutable) by default in Ruby 3.0https://docs.google.com/document/d/1e00tTj8ix2ofS8H2RiIMUhr39bABSc7AL0vk4KbtSF4/edit …
-
-
@wycats it's off by default. compatibility comes first. -
@yukihiro_matz So you need the magic comment in Ruby 3.0 to get frozen strings? -
@wycats No, you just need magic comment for mutable string literals after Ruby3.0. -
@yukihiro_matz This could become like Python 3. It can break gems that mutate strings (gsub! even) and will be hard to track down. -
@wycats I understand your concern. old programs will run by adding one line of magic comment though. -
@yukihiro_matz old programs, but not old gems. -
@yukihiro_matz most programs have dozens or hundreds of third party dependencies. - 11 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.