[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66190] [ruby-trunk - Feature #10169] It might be better to make Mathn class deprecated
From:
mail@...
Date:
2014-11-10 23:28:28 UTC
List:
ruby-core #66190
Issue #10169 has been updated by gogo tanaka. It might be annoying question, it's still open? If so please let me know why, if not could you make it closed? I just wanna make sure my tickets remains or not. I'm sorry to your extra trouble : ( ---------------------------------------- Feature #10169: It might be better to make Mathn class deprecated https://bugs.ruby-lang.org/issues/10169#change-49889 * Author: gogo tanaka * Status: Open * Priority: Normal * Assignee: * Category: lib * Target version: ---------------------------------------- #English As I mentioned in https://bugs.ruby-lang.org/issues/10086#change-48156, 1. Now that we are able to hundle complex exponents without mathn. 2. And overriding `\` with `quo` has too much side effect. I suppose we should not implement such a thing in ruby standard library. 3. Requiring and integrating other standard libraries doesn't make sense. This is why I think it might be better to make Mathn class deprecated and disabled in the future. #日本語(すみませんまだ英語が拙く、意図をより正確にお伝えするため日本語も記載させて頂きます) 僕がこちらのissueで述べさせて頂いた通り、https://bugs.ruby-lang.org/issues/10086#change-48156 1. `mathn` で実装されている冪乗演算は `mathn` を用いずとも現在は実現されている事 2. `mathn` 内で行われている `\` を `quo` でオーバーライドする事は副作用が強く、またこの種のオーバーライドが必要な場面は多くなく、必要な場合でも自ら実装する事が多いと推測される事 3. 各種数学関連のモジュールをrequireする機能もあまり意味を持たない事 以上の理由より、とりわけRubyの標準ライブラリーで現在の`mathn` を提供する必要を感じません. よって`mathn`を非推奨に、ゆくゆくは廃止してしまうのが良いと考えています. -- https://bugs.ruby-lang.org/