Possible Duplicate:
What is the difference between scala self-types and trait subclasses?
I can't get the the difference between the two following code blocks:
// Trait B is mixed in and creates a dependency on it
trait A extends C with B {
...
}
// Trait B is put in scope and also creates a dependency on it
trait A extends C {
self: B =>
...
}
I'm asking from a design perspective.
Thanks!