We spent two hours yesterday debugging some code that kept firing early. It wasn't clear to anyone, including the people who wrote it, why this happened. We patched it with the C# equivalent of duck tape, but really, it still doesn't work right.
This incident shows how important it is to know what your code is supposed to do, and not to accept the code if it doesn't. Many tools exist to help—most notably, unit-testing tools like NUnit—but they have trouble with the specific problem that we encountered: events fired from black-box controls.
I will have more to say about this later.
dasBlog theme by Mads Kristensen
All content Copyright ©2010 David Braverman. The Daily Parker by David Braverman is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License, excluding photographs, which may not be republished unless otherwise noted.
Disclaimer David Braverman is the author of this blog and is solely responsible for its content.
Avanade does not control or endorse the content, messages or information found in any public Weblog, and therefore specifically disclaims any liability with regard to this Weblog and any actions resulting from the author's participation in any Weblog.
The ParkerCam may return, but until it does, it's still a good photo of him.