dougbinks, Sometimes debugging 100 lines of complex code almost all day long leads you to the real fix - an assumption made in another 5 line piece of code which is no longer true.
Liberal use of asserts can help, but in this case this wasn't easy so I didn't have one, but I should have put in the effort to save future me time.
Having said that, I don't think I expected that assumption to break when I wrote the code.
Add comment