|
|
|
|
|
by brazzy
1379 days ago
|
|
>his comment made me think he considers it a terrible implementation regardless. Different people have different standards for what is "terrible". There are much better PRNGs that are just as fast. You should probably avoid java.util.Random if you care about the quality of the randomness it produces. It's good enough for games that don't involve real money. |
|
> You should probably avoid java.util.Random if you care about the quality of the randomness it produces.
That's pretty much the definition of "bad" ;) If you don't care about quality, I assume you could use a string of numbers without any randomness at all.
As for games, it depends. I'm sure one could make a guess it's bad for some kinds of non-betting games and simulations as well.