Mar 16 at 19:54, by
milleniumbug @AdanRamirez many reasons: a.) only so many little possible seeds b.) it can return values from 0 to RAND_MAX
, which isn't much c.) it can be as terrible as it can get (in fact, I'm pretty sure return 4;
is a standard compliant implementation) d.) uses global state e.) non-reproducible across architectures and compilers f.) if you want anything more (uniform distributions, or heck, non-uniform ones) you need to invent your own mechanisms over it, which WILL be buggy.