From: merch-redmine@... Date: 2015-08-21T17:30:06+00:00 Subject: [ruby-core:70525] [Ruby trunk - Feature #11473] Immutable String literal in Ruby 3 Issue #11473 has been updated by Jeremy Evans. +"" is not backwards compatible, "".dup is, as is String.new. I'm definitely against +"". One possible option would be to have "" be a mutable string, and '' be an immutable string. It doesn't make sense to have "" strings be immutable if they contain interpolation, since they can't be deduped, and '' strings can't contain interpolation. ---------------------------------------- Feature #11473: Immutable String literal in Ruby 3 https://bugs.ruby-lang.org/issues/11473#change-53929 * Author: Koichi Sasada * Status: Open * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- Matz said "All String literals are immutable (frozen) on Ruby 3". This ticket is place holder to discuss about that. -- https://bugs.ruby-lang.org/