|
Loading classes via reflection has its place, but please, PLEASE make it clear that it's only a useful technique within very particular contexts. In general, if you were on my team and I saw you putting a bunch of stuff in properties files when you could have simply invoked a constructor, I'd fire you. Simplest thing that works, folks. |