[fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Aug 30 11:34:22 CEST 2012



On Thu, 30 Aug 2012, Arioch wrote:

>> If the new features conform to the readability
>

[snip]

>
> But afterall i am quitting on that. Since FPC are lacking closures i am sure
> here are mostly people who personally dislike them. I wanted to document why
> closures are good and do matter. Hopefully i did it to the extent i was able
> to. Surely i would not be able to convince you infinite time. So the rest of
> arguments would be questions of personal tastes and it would bring nothing
> but flamewar.

Regarding this: I wish to stress that my views on lambdas or closures are my own;

Other people on the compiler team may have different ideas, so maybe they
will make it into the compiler. Just like Generics did, or advanced records
and some other weird Delphi things of which I totally do not see the use :)

But - and I think the whole compiler team shares this idea - if implemented,
it will be in a pascal-ish way, i.e. rather verbose.

Simply because it is Pascal, after all, and not some C derivative language 
(java, C#, Javascript, PHP, Perl whatnot...)

Michael.



More information about the fpc-pascal mailing list