Mail Archives: djgpp/2000/11/01/17:00:41
On Wed, 1 Nov 2000 11:24:01 -0600, Tom Hutto <huttothomas AT hotmail DOT com> wrote:
>The source is proprietary. I can't show it. I would have to cobble
>something that duplicates the problem. Kind of makes it tough to ask
>intellegent questions :-(
Um ya
> Furthermore, if I could duplicate the problem
>in a small program then I could fix it myself, nicht war?
>
Not really. That's often the case anyway--in the course of creating the
"smallest buildable code that consistantly reproduces the problem," I usually
find that I've botched something.
It really does two things. First, it gets me thinking about my code and how
things work and why writing to that uninitialized pointer is an
extraordinarily bad idea . . .
Second, if it turns out that everything is good, it isolates the fault from a
billion other possibilities that are equally likely. That way, when I post it
on the NG, someone goes, "Oh well of course, this works like . . " fairly
quickly.
Charles
- Raw text -