link: DevelopersMeeting20150820Japan - String literals are frozen (immutable) by default in Ruby 3.0https://docs.google.com/document/d/1e00tTj8ix2ofS8H2RiIMUhr39bABSc7AL0vk4KbtSF4/edit …
-
-
Replying to @yukihiro_matz
@yukihiro_matz Is the magic comment on by default or off by default? Will existing gems get opted into frozen strings?2 replies 0 retweets 1 like -
Replying to @yukihiro_matz
@yukihiro_matz So you need the magic comment in Ruby 3.0 to get frozen strings?1 reply 0 retweets 1 like -
Replying to @yukihiro_matz
@yukihiro_matz This could become like Python 3. It can break gems that mutate strings (gsub! even) and will be hard to track down.3 replies 1 retweet 2 likes -
Replying to @wycats
@yukihiro_matz you can add magic comment, but it may not be obvious where the string literal came from.1 reply 0 retweets 0 likes
@yukihiro_matz If enough gems break, people may say "Ruby 2.x is working fine for me. 3.0 is too much hassle" like Python 3.
0 replies
1 retweet
5 likes
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.