link: DevelopersMeeting20150820Japan - String literals are frozen (immutable) by default in Ruby 3.0https://docs.google.com/document/d/1e00tTj8ix2ofS8H2RiIMUhr39bABSc7AL0vk4KbtSF4/edit …
-
-
@wycats@yukihiro_matz This shows that it’s not that a hard work to upgrade existing libraries. -
@a_matsuda@yukihiro_matz it's not always trivial to understand interactions between many libs. -
@wycats@a_matsuda@yukihiro_matz See also: NPM. :trollface: - End of conversation
New conversation -
-
-
@wycats@yukihiro_matz In most cases, mutating a String is for force_encoding a newly created String. So we decided to add a new constructor -
@a_matsuda@yukihiro_matz the problem is gem_that_mutates(gem_returns_string_literal) except with less obvious names and more methods :p -
@wycats@yukihiro_matz Like http://String.new (str, Encoding). So the actual transition will be much more easier than the diff.
End of conversation
New conversation -
-
-
@wycats@yukihiro_matz We (@tanaka_akr) actually did an investigation at the ruby project to work in “ruby3 mode” https://github.com/ruby/ruby/compare/trunk...akr:frozen-string#diff-3f81b66d7e947ea4b28c56d9542aec26R28 …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
