int getRandomNumber() { return 4; //chosen by fair dice roll. //guaranteed to be random. }

Thanks to XKCD

And a couple of classic random quotes

“Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.” John von Neumann

“The generation of random numbers is too important to be left to chance.” Robert R. Coveyou

Comments are closed.

^ Top