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: https://www.slideshare.net/etorreborre/pratical-effscalaitaly2017
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?