A nit:
- Pull the srand initialization into wlapplication (i.e. our 'main' function equivalent) and only do it once. Should we ever want to inject a seed (for testing) it should only be done in one place and this should have the same effect in all your call sites.
A nit:
- Pull the srand initialization into wlapplication (i.e. our 'main' function equivalent) and only do it once. Should we ever want to inject a seed (for testing) it should only be done in one place and this should have the same effect in all your call sites.