"Michael Schnell" wrote 7 lines
On 03/23/2015 09:39 PM, Andrew Haines wrote:
>
>
> Do the new class helpers support objects?
>
Are "Objects" not depreciated, anyway ?
Not in FPC.
IMHO "Object" and "Record" should just be subsumed under the Class
concept, so that the "Object" and "Record" keyword can be avoided a certain modifier "Class" creates the appropriate types (of course keeping the
"Object" and "Record" language construct as syntax candy for
compatibility.
No. Classes and records/objects are way to different. Even classes and objects have enough differences that merging them would lead to problems.
With that helpers and some more stuff would be ubiquitously usable.
Most stuff added for classes is already useable for objects, because they share quote some code in the compiler. Helpers currently explicitly exclude objects (and interfaces).
Regards,
Sven