Take the 2-minute tour ×  Besides integration with dynamic
languages on the JVM, what are the other powerful uses of a
Dynamic type in a statically typed language like Scala?
share|improve this question Without language support (e.g.
dynamic in C#.4), I don't really "see" what's going on with that
commit. Would be interesting to see how it fits in. – 
user166390 Jan 17 '11 at 3:38 Th answers to this question are
extremely outdated, for actual answers see: How does type
Dynamic work and how to use it? –  sschaef Apr 13 '13 at 0:22
add comment  4 Answers  up vote 20 down vote accepted  I guess a
dynamic type could be used to implement several of the features
found in JRuby, Groovy or other dynamic JVM languages, like
dynamic metaprogramming and method_missing.  For example
creating a dynamic query similar to Active Record in Rails,
where a method name with parameters is translated to an SQL
query in the background. This is using the method_missing
functionality in Ruby. Something like this (in theory - have no