When algorithms are getting tinkered with behind the scenes, this leads me to believe there's still way too much churn in the JS space.
When algorithms are getting tinkered with behind the scenes, this leads me to believe there's still way too much churn in the JS space.
There are applications in creative coding and gaming where it's critical to have a reproducible random sequence that gives the same results on all platforms.
That’s a hell of an oxymoron.
Edit Yes, I know obviously the intent was to refer to a pseudorandom sequence, but that’s not what was said. It’s also not what Math.random promises. It promises random-seeming output, nothing more, nothing less. It did not promise a cross-platform, reliably reproducible stream of pseudorandom numbers, and it would be in error to abuse a black-box "random" API by considering it to be a fully specified pseudorandom stream.