Re:Why I vertically align my code
by Dylan16807 on Saturday November 29, 2014 @04:38PM
(#8675170)
That's not what I asked. Do you think they will find the bugs just because of rereading a standard algorithm?
Having to reread code when trying to accomplish something unrelated seems like a terrible way to seek out bugs.
Considering the binary search more deeply, http://comjnl.oxfordjournals.org/content/26/2/154.full.pdf is useful; De Angelos search (family 4) was a successful search, but it contains this bug. Implementations based on families 1 and 2 but perhaps trying to be less clever would not.