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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 22 05:30:13 PDT 2014


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



--- Comment #7 from bearophile_hugs at eml.cc 2014-03-22 05:30:12 PDT ---
(In reply to comment #5)
> Is there any favour for renaming the other randomSomething functions and types
> in this way? Note that one rationale for the existing names is by analogy to
> their C++ equivalents.

Keep also in mind this law:
http://en.wikipedia.org/wiki/Zipf_law

Shuffling is a common operation to do, so it's good to have it with a shorter
name. Other less common operations can have longer names.

-- 
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