News for hackers. Stuff that matters.
Re:Access Control in Swift by danieldk on Friday July 25, 2014 @07:50AM (#8084697)
Then you don't understand composition. I can pass the actual implementation in the constructor or via dependency injection. With multiple inheritance, your class is restricted to one implementation. Moreover, it couples the class with the internals of observables, rather than using simple interfaces, which composition provides.

There are no comments on this comment yet.