开发者

What does the new scala Dynamic type do? [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Practical uses of a Dynamic type in Scala

It开发者_开发技巧 has just been tweeted that Martin Odersky has just added Dynamic into trunk. Apparently, this is HUGE. Why?


Dynamic adds developer driven dynamic binding (dynamic dispatch) and gives a subset of the features of dynamic typing to Scala.

See this pastie from Jorge Ortiz:

http://pastie.org/1469174

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜