hap.random: a new random number library for D
Nick Sabalausky via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Jun 20 11:15:35 PDT 2014
On 6/19/2014 5:27 PM, Joseph Rushton Wakeling wrote:
>
> I realized that it ought to be possible to allow a more direct drop-in
> replacement for std.random by adding static opCalls to the classes which
> were previously structs.
>
> Thoughts on this, in favour, against ... ?
I'm on the fence:
Pro: Upgrade paths and backwards compatibility are great, especially for
Phobos.
Con: If any semantics are changed (default ref/value passing is the only
one that comes to mind), then maybe it would mask potential upgrade
issues. Breakage would force users to notice the change and (hopefully)
deal with it appropriately.
I don't personally see it as a big deal either way, though.
More information about the Digitalmars-d-announce
mailing list