in reply to Re^2: Golf: 3 hole golf game
in thread Golf: 3 hole golf game
If you want to produce really random numbers, then you need a source of random data to sample. Which can be done, but has its own problems (the call to fetch a random number may take a while if there is no random data in the pool right now). For normal purposes, pseudorandom is fast, easy, and good enough. Plus for some purposes it is very nice to be able to call srand and get a predictable set of numbers out.
But if you really want something more random then see Math::TrulyRandom.
|
|---|