3 ms·
I think you formulate it nicely. Sometimes the things it made sense to share stop making sense. Something that means rework, sometimes you end up with a parent
by jaabe 8y ago
I think you formulate it nicely. Sometimes the things it made sense to share stop making sense.
Something that means rework, sometimes you end up with a parent method which is overridden in every child, possibly because each override was spread out over a long time period and no one bothered to look outside the child.
Inheritance makes sense with interfaces in C# but for the rest I think composition is just a better way of sharing.