Classic WTF: Some Crazy Reason
by in CodeSOD on 2016-05-30One time, out of boredom, I wrote a little utility called BitVerifier. It would loop over a folder and check every bit of each file. If the bit's value wasn't one or zero, it would prompt the user for the correct bit. At least in theory. I somehow never encountered a file with a "two" bit. But I got one key component right – an understanding of the valid range of values.
Rob K.'s colleague didn't even get that far.