Scala, Design Patterns, Programming, Delegation, Coding.
problem with inheritance is that if badly used it can reduce comprehensibility of code, make extensibility more complex, make maintenance harder and difficult troubleshooting. Some of the problems related to inheritance are exemplified through the Yo-Yo problem. The term was introduced in Problems