Am 09.03.2018 05:14 schrieb "Ryan Joseph" <r...@thealchemistguild.com>:



> On Mar 9, 2018, at 10:32 AM, Michael Van Canneyt <mich...@freepascal.org>
wrote:
>
> Why don't you use objects ? No-one has obsoleted this, and you get what
you
> want: an object that can be allocated on the stack or on the heap.

Object is just for backwards compatibility right? Does it support new
features like generics, helpers, overloads  etc…? I have read over the
years they’ve been broken also so I just assumed they were a dead part of
the compiler kept around for old projects. If they still worked then why
introduce “advanced records” which are merely “basic classes”. :) As
pointed out it doesn’t make sense that classes and records diverged in the
way they did.


They are broken, deprecated and essentially dead in Delphi, but in FPC
we've always cared for them as well.
Overloads and generics are already supported and support for helpers could
be easily added. Only major feature missing compared to classes is the
support for extensive RTTI.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to