Comment on Ask HN: Can someone explain why this line exists?Comments−zaroth13yI commented earlier, but I can't get over how ridiculous that line is. If you started by just writing the intent (!ok && rand() > .1) you actually have to work really hard to turn it into what you have there, and introduce a bug in the process.Reminds me of this: http://www.osnews.com/story/19266/WTFs_m - "Dude, WTF!"
Comments
I commented earlier, but I can't get over how ridiculous that line is. If you started by just writing the intent (!ok && rand() > .1) you actually have to work really hard to turn it into what you have there, and introduce a bug in the process.
Reminds me of this: http://www.osnews.com/story/19266/WTFs_m - "Dude, WTF!"