Peter Duniho said:
Don't confuse not mentioning something with not thinking of it.
Fair enough although if you'd thought of the simplest easiest method I would
have thought you'd mention it.
I've never heard the phrase "if you have no good to do so", but assuming
you mean that you shouldn't store the same thing twice if there's no need,
then you are making a tautological argument. You've started with the
assumption that there's no need, so of course you come to the conclusion
that there's no need.
Hardly, my statement was that you would use an alternative method if speed
was an issue. As speed is clearly not an issue in this case there is no need
to store the same thing twice.
It's hardly a useful conclusion though.
That is wrong.
I have no idea what you mean here. The phrase "possibly it is, possibly
it isn't" adds nothing, as it's a trivially true statement without any
actual meaning.
That was the point silly!!! It was meant to be trivial to reflect your
trivial statement.
You might as well write "it's either true or it's false". The second
sentence is a colloqualism I don't recognize. If it's meant to add to
the discussion, it's lost on me.
Drawing a long bow means you're trying to associate 2 things that are really
quite different and drawing incorrect conclusions by doing that.
There is zero chance of it getting messed up as long as the Tags are
updated any time the array is. So?
So what you're saying is there's zero chance of it getting messed up if you
don't mess it up. The FACT is there is a possibility of it getting messed
up. That possibility might be small but it's not zero as you state. I prefer
to eliminate any potential sources of bugs. You could even have someone else
come along and decide to use the Tag property for something else.
And iterating over the array every time the mouse is clicked is also one
thing you don't _need_ to do. So?
As Jim stated you can get the framework to do it for you.
Fine. I dispute that criticism as well.
Of course you do, as usual.
There's nothing wrong with the approach you've suggested. However,
there's absolutely something wrong with the WAY you've suggested it.
You've got absolutely no basis for claiming that iterating the array is a
superior solution. It's a _different_ and _valid_ solution, to be sure.
But other than that, forget it. Any claim you might have regarding it
superiority is based solely on your subjective opinion, and like or not
your opinion is not a valid basis for claims of superiority.
No, I've provided some fairly significant reasons as to why it's superior,
you've just ignored them. (remember the joke "I haven't listed to a single
complaint"
Michael