Chapter 8. The Dynamic Language Runtime

This chapter covers

  • The simplest dynamic classes: the ExpandoObject class, the DynamicObject class, and parsing the Open Data Protocol dynamically
  • The DLR hosting model: runtimes, engines, and scopes
  • Adding a rules engine to your application

Ask a group of Python or JavaScript programmers what they enjoy about their languages and they’ll probably mention the term dynamic. Then ask the group what the word means, and there will undoubtedly be a range of responses, mostly centered on the theme of flexibility. These lovers of dynamic languages typically value flexibility and rapid development over type-safety. These priorities lead to an even deeper question: should the classification and access of data ...

Get Metaprogramming in .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.