std.random suggestions
IchorDev
zxinsworld at gmail.com
Sat Sep 20 18:42:03 UTC 2025
On Friday, 19 September 2025 at 16:38:59 UTC, Denis Feklushkin
wrote:
> On Thursday, 18 September 2025 at 12:53:25 UTC, IchorDev wrote:
>> If anything, std.random is very well designed because it uses
>> the range interface in a clever way.
>
> Range interface is not unique to `std.random`.
That's what makes it well designed, obviously. You're the one who
said
> I don't like the way the module std.random is designed
An integral part of why its design is good is that it uses the
range interface rather than reinventing the wheel. Someone like
you who can't understand the good parts of `std.random`'s design
has no place in suggesting changes to it.
More information about the Digitalmars-d
mailing list