Practical uses of a Dynamic type in Scala

前端 未结 3 474
耶瑟儿~
耶瑟儿~ 2020-12-07 22:41

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?

3条回答
  •  心在旅途
    2020-12-07 23:13

    Odersky says the primary motivation was integration with dynamic languages: http://groups.google.com/group/scala-language/msg/884e7f9a5351c549

    [edit] Martin further confirms this here

提交回复
热议问题