3 ms·
Interfaces are inheritance, just without code. But interfaces definitely serve at least one role of an abstract base class.
by spacemanmatt 7y ago
Interfaces are inheritance, just without code. But interfaces definitely serve at least one role of an abstract base class.
- Skinney 7y agoMaybe. But then even FP languages are considered OOP, as most of those languages have records and interfaces.
- nullwasamistake 7y agoYes I agree. Once you have interfaces with default implementations especially, you have non-nested OOP