[fpc-pascal] Implementing Factory Method with Pascal
md at delfire.net
Sat Nov 28 11:21:52 CET 2015
On Sat, Nov 28, 2015 at 7:32 AM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> Maybe in Luciano's simple example a factory is not the best use case,
> but the Simple Factory design pattern can be very useful in other cases.
I agree in both affirmations. But as I said before, Factories resolve
some problems but there is a cost.
Thank for explanation about tiOPF.
>> Objects should be immutable at first place, only if you have a good
>> reason for don't use immutability. So, if they should be immutable,
> This has nothing to do with Luciano's problem.
I know. He is my friend a long time and so I wrote more information, just that.
More information about the fpc-pascal