Hi Victor,
>Looking at Gamma software patterns book I wonder how many can be implemented without inheritance.And I wonder how good could be a framework if you cant use some critical patterns due to lacks of your development tools.
I didn't say that you can avoid inheritance completely, but you can create a framework with much less than people often think. VB, for example, supports inheritance. Sounds strange? But it's true, VB supports interface inheritance, while VFP supports implementation inheritance. Many design patterns use the parent class not to implement functionality, but to define an abstract class. An interface is quite similar to that.
Second, and more important, design patterns are _design_ patterns, not implementation patterns. While the pattern book shows implementations using an object oriented language, design pattern can be implemented in any language, even in FoxPro 2.x. They are independant from the implementation, rather they help you on the design stage.
Christof
--
Christof