[fpc-pascal] C-blocks
Sven Barth
pascaldragon at googlemail.com
Thu Nov 15 17:30:45 CET 2018
Am Do., 15. Nov. 2018, 15:01 hat Ryan Joseph <ryan at thealchemistguild.com>
geschrieben:
> Given that, having a light-weight “anonymous nested function” (not a
> “reference to” closure) is actually a nice compliment and in fact 2
> different things. As FPC’s current c-blocks support demonstrates, it has
> closure properties but NOT anonymous functions (yet), which are indeed 2
> distance concepts. Seems to be both are good to have.
>
No, too many ways to do the same thing don't make things easier, not to
mention that everything needs to be maintained. So this gets a definite
"no" from me.
Also the overhead for calling an anonymous function is only that for a
virtual method call.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181115/53f04319/attachment.html>
More information about the fpc-pascal
mailing list