4 ms·
I disagree with it being OO when it doesn’t have inheritance. No classes or class hierarkies, no passing things along to children. Seems very different than wha
by Skinney 7y ago
I disagree with it being OO when it doesn’t have inheritance. No classes or class hierarkies, no passing things along to children. Seems very different than what those who invented OO had in mind.
Structs with functions attached is easy, and not entirely uncommon in procedural and even functional languages.
- spacemanmatt 7y agoInterfaces 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