Why does the MongoDB Java driver use a random number generator in a conditional?
After inspecting the history of that line, my main conclusion is that there has been some incompetent programming at work. That line is gratuitously convoluted. The general form a? true : b for boolean a, b is equivalent to the simple a || b The surrounding negation and excessive parentheses convolute things further. Keeping in … Read more