Crime scene. Programs are being blown up.
Location. In traits.
Pattern. Abstract values are always around.
Things are not always what they seem to be.
There appears to be some controversy around the inclusion of abstract values in traits,
since they are often seen together with
This text presents the concept and characteristics of value injection on traits which is a Dependency Injection (DI) variant in Scala which I have been using lately instead of the cake pattern and the DI variants that Martin Fowler introduced.
I hope to clarify the elegance of this pattern ...