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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to