[fpc-pascal] Implementing Factory Method with Pascal

Marcos Douglas md at delfire.net
Sat Nov 28 01:22:01 CET 2015


On Fri, Nov 27, 2015 at 10:15 PM, luciano de souza <luchyanus at gmail.com> wrote:
> If I want to change the type of the instance, better is to use
> generics. A factory is only a batch builder of the same objects.

OK, but you don't need generics either ;)

Marcos Douglas



More information about the fpc-pascal mailing list