Sebastien Diotless info
|visits||member for||2 years, 10 months|
|seen||Jun 27 at 18:18|
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.