[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 23 04:02:42 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=9106



--- Comment #12 from Ivan Kazmenko <gassa at mail.ru> 2014-03-23 04:02:39 PDT ---
(In reply to comment #9)
> (In reply to comment #8)

> > So, for me, the problem reduced to whether randomCover could use a wholly
> > different, better name.  So, how is this function called in other languages?
> 
> Without any knowledge of how it's addressed in other languages, I would have
> been inclined to call it "permute".  But I'll look around (you didn't find
> anything appropriate in your existing search of Python and C++?)

No, I didn't see a similar function in other languages.  The function itself
seems a bit odd to me, even after I got an explanation of a possible use case
(in this old thread:
http://forum.dlang.org/thread/kuvhrfnrrbhzpyoirqgt@forum.dlang.org#post-kuvhrfnrrbhzpyoirqgt:40forum.dlang.org).

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


More information about the Digitalmars-d-bugs mailing list