O'Reilly logo
  • Yu Sasaki thinks this is interesting:

For those not familiar with how reflection works on classes, think of the IntelliSense drop-downs in your IDE and how they display classes, methods, parameters, and attributes. IntelliSense uses reflection on the class types to provide this information. Basically, reflection is a way to look at your class types through a run-time API and determine their location, structure, and type. Using reflection in code can be a useful tool. If you want a looser coupling of code bases, reflection can be a key component to providing this functionality. Creating classes without defining their type until run time is useful in many ways. If you did not have reflection methods in your language API, doing this would be hard, if not impossible....


Cover of Design Patterns


Reflection - a typical example is your IDE's IntelliSense