It's amazing how many times you can say "wait, what?" in a row while trying to understand this line of code: https://github.com/mongodb/mongo-java-driver/blob/master/src/main/com/mongodb/ConnectionStatus.java#L213 …
-
-
Replying to @avibryant
@avibryant Wow. I had to rewrite it to understand it. if (!_ok && Math.random() <= 0.1) { return res; }. It’s also in dire need of a comment1 reply 0 retweets 0 likes -
Replying to @bgreenlee
@bgreenlee and I'm 90% certain it doesn't do what the author intended.5 replies 0 retweets 1 like -
Replying to @avibryant
@avibryant@bgreenlee I thought I had it, then I realized _ok is a public field, and also we're in an abstract class2 replies 0 retweets 0 likes
Replying to @mcfunley
@mcfunley @bgreenlee wait... what?
6:54 PM - 29 May 2013
from Capital, British Columbia
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.