Pitfalls of inheritance
Often overused, especially by novices
Code gets fragmented into small, factored pieces
Tracing control logic of code is harder
Simple extension and overriding may be too limited
Ex: exceptions in classification hierarchies
Previous slide
Next slide
Back to first slide
View graphic version