in reply to Re: Strangness with arrays
in thread Strangness with arrays

Good suggestion well taken. My only (pathetic)defense is, that bit was working........

Granted, I couldn't explain why it was working but, but.............

{hangs head in shame!}


Anyone know of an abbottoire going cheap?

Replies are listed 'Best First'.
Re^3: Strangness with arrays
by Aristotle (Chancellor) on Jul 10, 2002 at 20:54 UTC

    No shame.. everyone makes boneheaded mistakes. It took me a couple of those before I understood that same advice I just gave you, and I sometimes still have to remind myself that it may only be a coincidence with the chosen test case.

    Pragmatic lesson I took home: when testing code, generate two random and reasonably large test cases to run it against. Even if one of the data sets happens to display strange behaviour, odds that they both do in the same way are rather low.

    Makeshifts last the longest.