|
|
|
|
|
by philwelch
1820 days ago
|
|
To me there are about three tiers of this basic insight: 1. Inheritance causes all kinds of issues so you shouldn’t use it. 2. Actually, inheritance is fine as long as you do it right (e.g. Liskov) 3. Actually, getting part 2 right is difficult, and the heavy risks of getting it wrong aren’t worth the minor benefits of inheritance. |
|