[ snip ]
[ snip ]
[ snip ]
(For the record, the part of my post you quoted includes only about
about half of my code, since apparently Google by default doesn't
present the entirety of long posts .... )
While thanking Ben, and rightfully so, for his help, you might have
had the common decency to also acknowledge theft of ideas (TESTER
macro, test suite, etc.) from me.
"Theft"? At worst I think I'm guilty of not being as explicit as
I might have been about sources. It was certainly not my intent to
"steal" any of your work, or to present it as my own, and I'm sorry
if that's how it comes across.
I call your attention to the following lines from my code, first
where I define my implementation of a TESTER macro:
/*
* macro to perform one correctness test
*
* conforms to thespinoza1111interface to allow easy copy/paste of his tests;
* first parameter is unneeded for my code
*/
#define TESTER(ignored, in, old_text, new_text, expected) \
one_test(in, old_text, new_text, expected, &test_count, &error_count, 1);
I would have thought that the above comments at least make it clear
that my implementation of a TESTER macro conforms to an interface
defined by someone else -- identified somewhat cryptically as
"spinoza1111", but I thought that would be enough for anyone who
follows this group at all. It didn't really occur to me that the
idea of such a macro was startlingly original and something one would
need to give credit for, but if you think it is -- oh, I don't know.
If I were really intending to steal your ideas, would I have
mentioned you at all? I suppose that comment about making it easy
to copy/paste might come across that way, but really -- my intent
was to make it easy to keep up with your evolving test suite and
thereby demonstrate that my proposed solution(s) "work" according
to your criteria.
And then at the point where I actually invoke your tests:
fprintf(stdout, "spinoza1111tests\n\n");
I suppose I thought this would make it clear enough to anyone
following the relevant discussion that I was proposing to run
tests proposed/invented/something by thisspinoza1111entity.
Thanking you .... Before I did that I would want to examine the
actual tests more closely; I have not looked at them carefully
enough to have an opinion about their quality. My idea was to
use your tests rather than inventing my own as a way of keeping
to a common frame of reference.
But if you want to claim that I should have been more explicit
that these were your tests and not mine, well, fair enough, and
I do apologize for that.
If I post further versions of my code I will do what I can to
make sure credit is given where due.
I understand that you're probably
afraid of the regs here who use "the politics of personal destruction"
so readily, and part of their strategy is to make people afraid to
associate with their target do jour...here a person who's exposed
their incompetence. But you might have acted like a man.
Why would I want to act like a man? (I'm not one.)