[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 7 04:21:44 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7067


Alex Rønne Petersen <xtzgzorex at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xtzgzorex at gmail.com


--- Comment #7 from Alex Rønne Petersen <xtzgzorex at gmail.com> 2011-12-07 04:21:37 PST ---
(In reply to comment #4)
> > Turn random generators into final classes?
> 
> We have backward compatibility to worry about.

Sometimes breaking changes can be a good thing. It seems to me like with the
current design, it's more likely that people are Doing It Wrong than the
opposite. Keeping backwards compatibility also means allowing people to
continue doing the same mistakes.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list