[Pas2js] Anonymous functions

Sven Barth pascaldragon at googlemail.com
Sat Dec 15 09:45:33 CET 2018


Am 12.12.2018 um 13:43 schrieb Mattias Gaertner via Pas2js:
> Hi,
>
> I implemented anonymous functions in trunk pas2js. Now I need some
> testers.
>
> Delphi calls them "anonymous methods":
> http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/devcommon/anonymousmethods_xml.html
>
> IMO "method" in Pascal usually refer to functions of objects,
> so I think "anonymous functions" is the better name.
First of: Congratulations! Second: That is my opinion as well. So in FPC 
they'll be called that, too.

Regards,
Sven


More information about the Pas2js mailing list