[fpc-pascal] Delphi compatible anonymous functions

Michael Schnell mschnell at lumino.de
Wed May 28 09:50:06 CEST 2014


On 05/26/2014 06:49 PM, Dmitry Boyarintsev wrote:
>
> My fear here is that anonymous functions will be misused dramatically 
> once being available.
Very valid point !

This also holds for parallel loops (my current favorite encapsulation 
for OpenMP or similar libraries): Users _will_ try to do GUI stuff in a 
parallel loop. So this needs to be prevented (at best at compile time, 
but supposedly only a runtime check is possible).

-Michael



More information about the fpc-pascal mailing list