Scala in practice: Traits as Mixins – Motivation

Some voices say that Scala’s type system is rich but complex.
Traits are part of Scala’s type system, but their application isn’t that mysterious nor is it incomprehensible.
This post will give some introduction to one of their main operational areas – Traits used as Mixins, a well known concept which is already provided by some dynamic languages like Ruby. Read the rest of this entry »

Advertisements
Posted in Scala. 9 Comments »