On 16 Nov 2009, at 18:55, Anthony Walter <sys...@gmail.com> wrote:

I think Delphi should be using actual operators like + * and / instead
of Add, Multiply, Divide, but then again I think the named results of
FPC are stranger. What's wrong with using the type in the declaration
and Result in the implementation?

1) this feature was probably implemented before FPC had a Delphi/ ObjFpc mode and the associated result alias for the function result 2) even then, we'd still want to support this functionality in standard FPC mode anyway (which does not have this result alias)

For this reason, I think the Delphi operator naming decision is actually better than FPC's. Limiting them to classes is another matter.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to