18.10.2011 0:53, Andrew Pennebaker пишет:
Does Free Pascal have anonymous functions that you can pass around, e.g. to a sort(compare : function, arr : array) function?
anonymous functions = closures = lambdas are part of functional paradigm. object pascal itself is not functional language. But there is modern trend to design multiparadigm languages (usually OO + functional + imperative). Delphi followed this trend. So the question is: should freepascal follow this trend too?
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal