[fpc-devel] Object upgrades

Kostas Michalopoulos badsectoracula at gmail.com
Sun May 26 23:50:09 CEST 2019


Do records support inheritance in next FPC? 3.0.4 doesn't seem to
allow that and this is the main reason i use objects when i need value
types.

Actually, what are the differences between records and objects that
make it impossible for records to get objects' features or objects to
get records' features so there is no difference between the two and
one become alias for the other?

I often want value types and find myself having to choose between the
two depending on the features i need. It'd be very nice if both had
the same features or at least one became a full superset of the other.

On Fri, May 24, 2019 at 10:50 AM Sven Barth via fpc-devel
<fpc-devel at lists.freepascal.org> wrote:
>
> Ryan Joseph <ryan at thealchemistguild.com> schrieb am Fr., 24. Mai 2019, 01:20:
>>
>> I’m doing some work to upgrade old-style objects including class operators/management operators and better construction.
>
>
> Please don't. They're legacy types (even though we don't consider them obsolete) and geared towards the TP behavior and compatibility.
>
> Regards,
> Sven
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel



More information about the fpc-devel mailing list