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: > http://blog.berniesumption.com/software/inheritance-is-evil-and-must-be-destroyed/ > http://www.javaworld.com/article/2073649/core-java/why-extends-is-evil.html
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 it). Aside from the fact that interfaces is still inheritance. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal