std.random suggestions

Denis Feklushkin feklushkin.denis at gmail.com
Sat Sep 20 19:47:26 UTC 2025


On Saturday, 20 September 2025 at 18:42:03 UTC, IchorDev wrote:
> 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.

This is neither a necessary nor a sufficient condition.

Also, wonderful D template ranges can be attached to any 
interface easily.


More information about the Digitalmars-d mailing list