[fpc-pascal] class operator in record
Marco van de Voort
marcov at stack.nl
Wed Mar 1 11:23:11 CET 2017
In our previous episode, Sven Barth said:
> > why not "record operator"?
> > Are these advanced neo-records considered classes?
> It's simply that Delphi introduced static methods to records using the same
> syntax as for classes and operators followed along.
> We've simply followed that along as we would have needed to do so at least
> for mode Delphi anyway and the implementor of advanced records decided not
> to deviate from that.
Moreover it doesn't add anything and it only means an extra requirement for
editing to change a record to a class and viceversa.
More information about the fpc-pascal