Sebastien Diotless info
|visits||member for||2 years, 2 months|
|seen||Oct 14 at 14:56|
Software Engineer. Mostly Java atm.
What are the alternatives to “overriding a method” when using composition instead of inheritance?
Clarifed problem to be solved, so that I get more relevant answers.
Is there a language or design pattern that allows the *removal* of object behavior or properties in a class hierarchy?
Summariesed suggestion proposed in answers
Is there a specific design strategy that can be applied to solve most chicken-and-egg problems while using immutable objects?
Added important missing information.