[#64517] Fw: Re: Ruby and Rails to become Apache Incubator Project — Tetsuya Kitahata <kitahata@99.alumni.u-tokyo.ac.jp>

What do you think? >> Ruby developers

13 messages 2014/08/23

[#64615] [ruby-trunk - Feature #10181] [Open] New method File.openat() — oss-ruby-lang@...

Issue #10181 has been reported by Technorama Ltd..

10 messages 2014/08/28
[#64616] Re: [ruby-trunk - Feature #10181] [Open] New method File.openat() — Eric Wong <normalperson@...> 2014/08/28

I like this feature.

[#64671] Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...>

Why this fix solve your problem?

9 messages 2014/08/30
[#64672] Re: Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...> 2014/08/30

(2014/08/30 8:50), SASADA Koichi wrote:

[ruby-core:64555] [ruby-trunk - Feature #10169] [Closed] It might be better to make Mathn class deprecated

From: shibata.hiroshi@...
Date: 2014-08-26 00:31:11 UTC
List: ruby-core #64555
Issue #10169 has been updated by Hiroshi SHIBATA.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r47282.

----------
* lib/mathn.rb: mathn library is deprecated on ruby 2.2.
  [Feature #10169][ruby-core:64553]

----------------------------------------
Feature #10169: It might be better to make Mathn class deprecated
https://bugs.ruby-lang.org/issues/10169#change-48482

* Author: gogo tanaka
* Status: Closed
* 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/

In This Thread

Prev Next