Sorry...
I don't understand the question you are asking...
>>What I mean is that composition is often a better alternative to inheritance..
>>
>>>>It is all about the design and architecture. If you do it right, you are in good shape. There is a preponderance of evidence that has found however that often, relying on implementation inheritance leads to problems. Why do you think the patterns movement in the VFP community is so popular???
>>>
>>>I don't know, can you expand?
>
>
>This is getting really interesting. To help clarify further -- can you give an example of the following please:
>
>1) You are creating a base class.
>2) You are not doing anything obviously wrong -- you are leaving lots of hooks and putting the properties you will need in the base class.
>3) But you get yourself into real trouble and would have been much better off using composition.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only