A
agent_008_nl
Guest
It would be helpful if a presentation like yours would explain both strategies, when you would use one and when the other. I only read "Use inheritance for common or shared behaviour", and that's harmful when followed. Until now I never found a need / justification for inheritance. The much named is-a relation is not a real good reason in at least a lot of cases as this relation can / should be able to change over time (during maintenance). All this is discussed by others already enough on the internet. The gof book is not a bible to me btw. So this "favour" is not an advise I follow.
Continue reading...
Continue reading...