On Sat, Nov 28, 2015 at 7:32 AM, Graeme Geldenhuys
<mailingli...@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.

Regars,

Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to