Ferry Boender
Programmer, DevOpper, Open Source enthusiast.

Preface Randomly selecting elements from a set of items is easy. Just generate a random number between 0 and the length of the set minus one, and use that as an index in the set (if it is an array) to get a random entry. The chance that an entry is picked is the same […]
Search this blog:
The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.