[fpc-pascal] Class vs Object type

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Apr 7 13:04:53 CEST 2016


On 2016-04-07 11:58, Santiago A. wrote:
> Moreover, if the object uses classes instances that must be freed, you
> also must call destructor, then any advantage is over.

Technically yes, but as a rule of thumb, I *never* use Class objects
inside an Object object. That just seems messy.

Regards,
  - Graeme -




More information about the fpc-pascal mailing list