Apart from the inheritance aspect, is there a difference between the following class templates:
1| trait TraitA extends TraitB
2| trait TraitA { self: TraitB => }
I would like to split responsibilities between TraitA
and TraitB
but the former cannot function without the latter.
How would you express this intent? To me solution [2] would be the more natural approach. However I do not want to put the burden on implementers mixing in what needs to be mixed in anyway.