Code review comment for lp://staging/~julian-edwards/gwacl/xml-definitions

Revision history for this message
Raphaƫl Badin (rvb) wrote :

> It's staggering insofar as it's the first language I've used that
> doesn't preseed the random number generator.

I wasn't really a surprise to me because it reminded me how C works:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

void main(void) {
        /* srand ( time(NULL) ); uncomment this to seed the PRNG */
        printf("Random %d", rand());
}

« Back to merge proposal