-
-
Notifications
You must be signed in to change notification settings - Fork 739
Open
Description
crazymonkyyy reported this on 2024-06-08T16:16:10Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=24591
Description
https://forum.dlang.org/post/etyigamzkmvinpooeryw@forum.dlang.org
https://dlang.org/phobos/std_random.html#.uniform
uniform's docs code communicates using a verbose seed; this is wildly unnecessary for 95% of cases(and if someones doing cyptro they should read and understand the whole lib)
pathologically simple code such as:
```d
import std;
void main(){
uniform(0,100).writeln;
}
```
should be front and center