-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename srand
to Random.seed
#27726
Comments
I would also propose |
I prefer something with rand in it. So |
Yes, |
Unexported |
Since we do have |
I like the increased consistency (but see also |
That is a good point. |
So the choice is between
|
If anybody wants this in 0.7, it needs to be done ASAP. |
|
I frequently need to look this up and it seems to be against the naming convention of spelling things out.
Other scientific languages do not use that syntax either:
srand
but its deprecated, now usesset.seed()
rng(seed)
random.seed()
While C actually uses
srand
, i think we want to improve upon C-Syntax?Edit: There has been some short discussion about this in 2014
The text was updated successfully, but these errors were encountered: