Enumerating constants from a class
Reflection is kind of like black magic, and whenever I use it I feel like some kind of wizard. The ability to look into objects and even invoke private methods is pretty darn powerful. It’s not all that magical, of course, since it is built into the framework… however, you should still be careful because … [Read more…]