I just read a chapter in a programming book about Dynamic types. Although they are quite neat I cant think of a single real world example where I would use them. Does anyone here actually use them and for what?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
For example, if my expression graph was an arithmetic expression with a multiplication operator (e.g.
My initial idea was to turn my logical expressions into snippets of Python or Ruby, then run these snippets through IronPython or IronRuby to evaluate the result. It struck me all I required from Python or Ruby was their dynamic typing, so I was very happy to see that
In addition to previous answers relating to dynamic languages, dynamic typing in C# also eases a lot of pain when doing COM interop - e.g. see this MSDN article , or scroll down to the bottom of this post on Chris Burrows' blog.
It's a framework, it isn't always about you. In the case of