Scala doesn't just bring functional concepts to the JVM, it offers us a modern perspective on object-oriented language design. Scala exploits traits to make objects simpler and easier to build. Traits are both similar to and different from the traditional polarities offered by Java™ interfaces and C++ multiple inheritance."
The busy Java developer's guide to Scala: Of traits and behaviors
No comments:
Post a Comment