[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70566] [Ruby trunk - Feature #11473] Immutable String literal in Ruby 3

From: akr@...
Date: 2015-08-24 12:08:34 UTC
List: ruby-core #70566
Issue #11473 has been updated by Akira Tanaka.


Yusuke Endoh wrote:
> > "immutable by default" is a way to solve the ambivalent with matz's preference.
> 
> So, you mean:
> 
> * because the magic comment is not accepted as-is,
> * we suppose "immutable by default" as a future goal, and
> * the magic comment can be now accepted as a migration path.
> 
> The logic seems weird to me.  What is the true goal?  If "immutable by default" is the true goal, we should discuss the advantage/disadvantage of itself.  The magic comment is irrelevant.

I think it is not a problem.
"immutable by default" solves the ambivalent.
It makes developers happy.
This can be considered better usability.


----------------------------------------
Feature #11473: Immutable String literal in Ruby 3
https://bugs.ruby-lang.org/issues/11473#change-53975

* Author: Koichi Sasada
* Status: Assigned
* 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/

In This Thread

Prev Next