Re:Inheritance was invented as a performance hack
by ajuc on Thursday May 08, 2025 @03:58AM
(#43924083)
> The bottom line is, no one ever really used inheritance that much anyway
That's just false. Before Java abstract factory era there was already a culture of creating deep inheritance hierarchies in C++ code. Interfaces and design patterns (including factories) were adopted as a solution to that mess and as bad as they were - they were still an improvement.
That's just false. Before Java abstract factory era there was already a culture of creating deep inheritance hierarchies in C++ code. Interfaces and design patterns (including factories) were adopted as a solution to that mess and as bad as they were - they were still an improvement.