[fpc-pascal] Implementing Factory Method with Pascal
Marco van de Voort
marcov at stack.nl
Sat Nov 28 18:31:01 CET 2015
In our previous episode, Marcos Douglas said:
> Inheritance breaks encapsulation. This was written even in GoF Patterns.
> There are many post, on the web, explaining why inheritance is evil.
> I searched on Google right now:
Such rants are in direct opposition of GoF. GoF never meant to push a set of
unbendable rules. They just wanted to standarize jargon, and describe
somethings they encountered (without any claim that everybody should use
Aside from the fact that interfaces is still inheritance.
More information about the fpc-pascal