Hi There!

I'm Dan Schlegel, an Associate Professor in the Computer Science Department at SUNY Oswego

Mixins and Traits

Mixins in Python

Real use of mixins in Python

Traits in Scala

Scala does not support multiple inheritance, but it does support “mixing in” any number of traits. Like Java 8 interfaces they allow for partial implementation.

See the Scala documentation page for further details.