4 ms·
I want to thank this guy for the "avoid Monte Carlo" point and the big "no randomness" image. I feel people are getting way to comfortable throwing randomness
by xg15 2y ago
I want to thank this guy for the "avoid Monte Carlo" point and the big "no randomness" image.
I feel people are getting way to comfortable throwing randomness at things, pretending it's perfectly fine or even beneficial because you can reason over the probability distributions and then shrugging their shoulders when the results have unpredictable and impossible to debug edge case behavior.
We already have enough unpredictable factors in a program, I feel we don't have to purposefully add even more of them.
- windward 2y agoAgreed. Adding a test that generates a random 32 bit int to your project is adding 4 billion tests to your project and only running one of them.