Use cases for contruction-time traits mixing


I was wondering what were good use-cases for construction-time trait mixing? So far most of the examples I’ve found in books/articles pertained to emulating dependency injection and/or logging.

What are other common/useful use cases?



Take a look at Eric Torreborre’s slides from Scala Italy:

It’s still dependency injection, but on steroids.

Thanks for the link, zoyzeck!

Interesting slides, but still mostly DI-related… Is there really no other common applications?