News for hackers. Stuff that matters.
Re:The sky is not falling – about the supposed end of dynami... by wtetzner on Sunday November 29, 2015 @10:39AM (#10644828)
I don't think it's considered a code smell, but it is intended to be used only for cases where the problem your modelling really is dynamic. Basically, in cases where you end up having classes that have methods like

    def lookup(name: String): Any
you can instead use Dynamic, meaning instead of having calls like this:

    myObj.lookup("foo")
you can do this:

    myObj.foo
So no, Scala isn't really trying to become more dynamic, but it has a feature for dealing with problems that are dynamic anyway.

There are no comments on this comment yet.