News for hackers. Stuff that matters.
Re:When Random Isn't Random Enough: Lessons from an Online P... by atul_wired on Monday February 10, 2014 @03:56AM (#7209885)
I think programmer tried to be defensive by ignoring an edge case. He either was lazy in searching for its documentation (<= 1999 you know) and tried to be over-smart to avoid "Out of Range" exception in test/production. Or he didn't consider looking at documentation like some of us do. He may have given it a shot by running it several times to see if it actually generates the number provided as an argument.

There are no comments on this comment yet.