Dynamic programming is done with a mind set that we have application in the form of in-memory object-graph and at the run time we call methods, add or remove data members, add or remove functions or methods or properties, add behavior to the methods, add overriding methods at run time. We manipulate the object graph as we do using the Reflection. We manipulate the programming constructs like methods, classes, properties, custom attributes, interfaces, data members at the run time. C# has added capabilities to do the dynamic programming. It is like adding support to the language that in-memory object-graph can be manipulated dynamically at run time according to the situation. Something like adaptive object models. Object graphs those adapt or change themselves at run time dynamically according to the situation or requirements. This is like we have DOM of the code at programming time and we can manipulate that DOM at run time to do the stuff. It is very much like JQuery that we have DOM of Web Page and we query and manipulate that Web Page DOM while we are programming in JQuery. I think JQuery also comes in the category of dynamic languages. This dynamic programming concepts are very much like that.
- Home Unlabelled Dynamic Programming and .NET Reflection
Dynamic Programming and .NET Reflection
05:53 /
Muhammad Sohail /
Dynamic Programming and .NET Reflection
Reviewed by Muhammad Sohail
Published:
Rating : 4.5
Published:
Rating : 4.5
No comments:
Post a Comment