3 ms·
> easy to take another class and copy it with small modifications but not mess it up for anyone else (inheritance) That sounds like a recipe for disaster thoug
by SkiFire13 1y ago
> easy to take another class and copy it with small modifications but not mess it up for anyone else (inheritance)
That sounds like a recipe for disaster though, as it generally makes code much harder to read.
- dgoldstein0 1y agoAgree, inheritance tends to be overused when programmers try to get too clever. The flatter the class hierarchy the better