Misc #15978
closed
- Status changed from Open to Feedback
Yeah sure basically for consistency, now that Bignum and Fixnum classes have been deprecated in favour of Integer. I think that FIXNUM_MIN and FIXNUM_MAX should be deprecated and replaced for something that reflects that ruby has a single class for integers. I was thinking something like INTEGER_MAX and INTEGER_MIN
- Status changed from Feedback to Rejected
robertomiranda (Roberto Miranda) wrote:
Yeah sure basically for consistency, now that Bignum and Fixnum classes have been deprecated in favour of Integer. I think that FIXNUM_MIN and FIXNUM_MAX should be deprecated and replaced for something that reflects that ruby has a single class for integers. I was thinking something like INTEGER_MAX and INTEGER_MIN
I doubt such consistency is worth breaking compatibility.
And though Fixnum and Bignum is vanished from Ruby world, they are still alive in C world of Ruby implementation.
Also available in: Atom
PDF
Like0
Like0Like0Like0