[fpc-pascal] Traits Proposal

Marco van de Voort fpc at pascalprogramming.org
Tue Feb 16 21:49:01 CET 2021


Op 2021-02-16 om 21:33 schreef Ryan Joseph via fpc-pascal:
>
>> On Feb 16, 2021, at 1:27 PM, Marco van de Voort via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>>
>> And there often is a lot of unintentional deep copying. This is also why a property returning a record is fairly useless except for extremely small records like TPoint (and even that is not optimal no
> deep copying? You mean from ref counted types like "array of" and ansistring?

No, use of TP objects and records in e.g. properties in not carefully 
crafted code. They are a lot less userfriendly.




More information about the fpc-pascal mailing list