in reply to Re^2: PDL and srand puzzle
in thread PDL and srand puzzle
srandom makes sense to me. Then both subs follow the pattern of appending "om" to the core variants.
If one is to override perl's rand then it should be kept to "opt-in" behaviour to avoid violating the principle of least surprise.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: PDL and srand puzzle
by etj (Priest) on Jun 05, 2024 at 13:30 UTC | |
by marioroy (Prior) on Jun 06, 2024 at 00:30 UTC | |
by etj (Priest) on Jun 06, 2024 at 03:55 UTC | |
by marioroy (Prior) on Jun 06, 2024 at 05:24 UTC | |
by marioroy (Prior) on Jun 06, 2024 at 06:06 UTC | |
| |
by etj (Priest) on Jun 06, 2024 at 14:21 UTC | |
|