4 ms·
> This model doesn't support a single class having multiple base classes very well, whereas this is supported very well by the Swift/Rust approach. Totally agr
by WoodenChair 7y ago
> This model doesn't support a single class having multiple base classes very well, whereas this is supported very well by the Swift/Rust approach.
Totally agree, but you can have a single base class that adopts multiple protocols or subclasses that adopt multiple protocols. It doesn't have to be an either/or. Inheritance can work together with protocols.