Criss Cross

rafael on 2003-01-29T08:59:25

Joel explains how he located a bug through binary search among revisions of a software project. However he forgets to add that a new regression test will also help to avoid this situation to occur again in the future.

This technique could prove incredibly useful, esp. when you have thousands of revisions and poorly-documented code. I occasionally use it, by hand. Andreas Koenig implemented a hack that automates this binary search for the perl source code.

-- Title of this journal entry by Thelonious Monk.