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

Re: Views on changing Math-BigInt OO design

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
July 29, 2015 00:01
Subject:
Re: Views on changing Math-BigInt OO design
Message ID:
20150729000109.GA23213@plasmasturm.org
* Peter John Acklam <pjacklam@gmail.com> [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.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About