Mixins

Scala

Scala - Trait Mixins and Stacking

When you mix multiple traits into a class, Scala doesn’t arbitrarily choose which method to call when conflicts arise. Instead, it uses linearization to create a single, deterministic inheritance…

Read more →