3 ms·
Inheritance is usually bad since extending from a base class puts you at risk for shared and a centralized dependency for your subclass implementations. I would
by julius_set 7y ago
Inheritance is usually bad since extending from a base class puts you at risk for shared and a centralized dependency for your subclass implementations. I would even argue a protocol witness approach here makes more sense than protocol oriented.