3 ms·
slight disagreement - there's nothing in the name of the function that implies a random number generator.
by mikeryan 17y ago
slight disagreement - there's nothing in the name of the function that implies a random number generator.
- Xichekolas 17y agoTrue, but Deestan has the right idea. The number was random at the time of coding (presumably selected by the programmer using a fair dice roll), but is obviously not random at runtime. It's amusing that every answer in that SO thread completely missed the point.