Am Do., 15. Nov. 2018, 15:01 hat Ryan Joseph <r...@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 >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal