develooper Front page | perl.perl5.porters | Postings from July 2015

Re: Views on changing Math-BigInt OO design

Thread Previous | Thread Next
Aristotle Pagaltzis
July 29, 2015 00:01
Re: Views on changing Math-BigInt OO design
Message ID:
* Peter John Acklam <> [2015-07-28 15:45]:
> - introduce Math::BigNum
> - let Math::Big(Int|Float|Rat) each be a subclass of Math::BigNum
> - for backwards compatibility, let Math::BigFloat load Math::BigInt, and
> let Math::BigRat load Math::BigFloat

That would have been my proposal too.

Even with all issues considered and consensus reached, though, I would
advise that you consider this change tentative until it has had a CPAN
smoke run or two to assess its breakage potential. If those smokes show
carnage, the design would have to stay as is, unfortunate as it may be;
if not, but there is still more than near-zero breakage, then some kind
of transition phase would be necessary.

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About