Forum: Ruby-core [ruby-trunk - Bug #7667][Assigned] Should Refinements be enabled by default?

C4e88907313843cf07f6d85ba8162120?d=identicon&s=25 shugo (Shugo Maeda) (Guest)
on 2013-01-07 04:56
(Received via mailing list)
Issue #7667 has been reported by shugo (Shugo Maeda).

----------------------------------------
Bug #7667: Should Refinements be enabled by default?
https://bugs.ruby-lang.org/issues/7667

Author: shugo (Shugo Maeda)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category:
Target version:
ruby -v: ruby 2.0.0dev (2013-01-07 trunk 38719) [i686-linux]


Currently, `require "refinement"' is needed to use Refinements, but I've
heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?

If so, I'm worried that other implementors might not want to enable
Refinements by default, because it's an experimental feature.
0ec4920185b657a03edf01fff96b4e9b?d=identicon&s=25 matz (Yukihiro Matsumoto) (Guest)
on 2013-01-07 05:24
(Received via mailing list)
Issue #7667 has been updated by matz (Yukihiro Matsumoto).

Assignee changed from matz (Yukihiro Matsumoto) to shugo (Shugo Maeda)

Correct. I think we don't have to worry about other implementations if
it's marked as EXPERIMENTAL in the NEWS file.

Matz.

----------------------------------------
Bug #7667: Should Refinements be enabled by default?
https://bugs.ruby-lang.org/issues/7667#change-35253

Author: shugo (Shugo Maeda)
Status: Assigned
Priority: Normal
Assignee: shugo (Shugo Maeda)
Category:
Target version:
ruby -v: ruby 2.0.0dev (2013-01-07 trunk 38719) [i686-linux]


Currently, `require "refinement"' is needed to use Refinements, but I've
heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?

If so, I'm worried that other implementors might not want to enable
Refinements by default, because it's an experimental feature.
C4e88907313843cf07f6d85ba8162120?d=identicon&s=25 shugo (Shugo Maeda) (Guest)
on 2013-01-07 06:22
(Received via mailing list)
Issue #7667 has been updated by shugo (Shugo Maeda).


matz (Yukihiro Matsumoto) wrote:
> Correct. I think we don't have to worry about other implementations if it's
marked as EXPERIMENTAL in the NEWS file.

I think a warning should be shown when Module#refine or main.using is
called at the first time.

----------------------------------------
Bug #7667: Should Refinements be enabled by default?
https://bugs.ruby-lang.org/issues/7667#change-35254

Author: shugo (Shugo Maeda)
Status: Assigned
Priority: Normal
Assignee: shugo (Shugo Maeda)
Category:
Target version:
ruby -v: ruby 2.0.0dev (2013-01-07 trunk 38719) [i686-linux]


Currently, `require "refinement"' is needed to use Refinements, but I've
heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?

If so, I'm worried that other implementors might not want to enable
Refinements by default, because it's an experimental feature.
This topic is locked and can not be replied to.