Originally posted by Gregg Bolinger:
The "stupidity" factor of reflection is not what this discussion is about. Start a new thread if you want to discuss that topic further.
Thanks.
Well "stupid" may be a little strong, but reflection basically is a "sin" in a language like Java and should be avoided.
Anyway say you cannot resist the temptation, will reflection degrade performance? Sure, in principle, because certain typing issues cannot be as efficiently resolved as they could without reflection.
The question now is will reflection degrade the performance of a specific application? The answer is as always. Only if it's part of a performance bottleneck. There's nothing special about reflection in this respect.
[ December 30, 2005: Message edited by: u johansson ]