Is it a good practice to use reflection extensively. Are there any potential issues/pitfalls in using Reflection. Has it got better in newer versions of jdk 1.5 or 1.6 compared to older versions of jdk.
sudip narayan wrote: Is it a good practice to use reflection extensively.
You are asking about reflection in a performance section? I see reflection as a very powerful tool, or a tool to build tools. But if you are using it a lot in production code, for me, that raises questions about your engineering tradeoffs.
With modern JIT optimizers, its probably not terrible for performance, but reflection code tends to be tricky to write and tricky to read.