Re: [math] RandomData/RandomDataImpl

2011-03-21 Thread Phil Steitz
On 3/21/11 12:14 PM, Mikkel Meyer Andersen wrote: > Hi, > > In my opinion, we have to be careful. It's not that I don't like the > idea, but it might be a slippery approach merging interfaces with the > uniquely implementing class - where do we stop merging? > > Also, RandomDataImpl actually does h

Re: [math] RandomData/RandomDataImpl

2011-03-21 Thread Mikkel Meyer Andersen
Hi, In my opinion, we have to be careful. It's not that I don't like the idea, but it might be a slippery approach merging interfaces with the uniquely implementing class - where do we stop merging? Also, RandomDataImpl actually does have substantial non-trivial functionality like hexStrings, Poi

Re: [math] RandomData/RandomDataImpl

2011-03-21 Thread Ole Ersoy
Phil, I like the concrete class idea as well. Cheers, - Ole On 03/20/2011 01:28 PM, Phil Steitz wrote: Quite a few methods have been added to RandomDataImpl that are not in RandomData. The methods were added to the impl class only to preserve backward compatibility in versions 1 and 2. In 3.

Re: [math] RandomData/RandomDataImpl

2011-03-21 Thread Matt Benson
On Mon, Mar 21, 2011 at 9:35 AM, Phil Steitz wrote: > On 3/21/11 7:14 AM, Matt Benson wrote: >> On Sun, Mar 20, 2011 at 2:19 PM, Luc Maisonobe wrote: >>> Le 20/03/2011 19:28, Phil Steitz a écrit : Quite a few methods have been added to RandomDataImpl that are not in RandomData.  The met

Re: [math] RandomData/RandomDataImpl

2011-03-21 Thread Phil Steitz
On 3/21/11 7:14 AM, Matt Benson wrote: > On Sun, Mar 20, 2011 at 2:19 PM, Luc Maisonobe wrote: >> Le 20/03/2011 19:28, Phil Steitz a écrit : >>> Quite a few methods have been added to RandomDataImpl that are not >>> in RandomData. The methods were added to the impl class only to >>> preserve back

Re: [math] RandomData/RandomDataImpl

2011-03-21 Thread Matt Benson
On Sun, Mar 20, 2011 at 2:19 PM, Luc Maisonobe wrote: > Le 20/03/2011 19:28, Phil Steitz a écrit : >> Quite a few methods have been added to RandomDataImpl that are not >> in RandomData.  The methods were added to the impl class only to >> preserve backward compatibility in versions 1 and 2.  In 3

Re: [math] RandomData/RandomDataImpl

2011-03-20 Thread Luc Maisonobe
Le 20/03/2011 19:28, Phil Steitz a écrit : > Quite a few methods have been added to RandomDataImpl that are not > in RandomData. The methods were added to the impl class only to > preserve backward compatibility in versions 1 and 2. In 3.0, we now > have the choice to add the methods to the inter

[math] RandomData/RandomDataImpl

2011-03-20 Thread Phil Steitz
Quite a few methods have been added to RandomDataImpl that are not in RandomData. The methods were added to the impl class only to preserve backward compatibility in versions 1 and 2. In 3.0, we now have the choice to add the methods to the interface or even dispense with the interface altogether