[fpc-devel] Delphi anonymous methods
Michael Van Canneyt
michael at freepascal.org
Mon Mar 4 18:17:06 CET 2013
On Mon, 4 Mar 2013, Boian Mitov wrote:
> I actually somewhat agree with that, except it is less readable since you
> can't follow the code flow in place but have to scroll up to see what will
> happen (in for each as example.)
If you do proper top-down programming, usually there is no need to go and look.
If I see
if F.NeedUnitTest then
CreatePropertyUnitTest(Strings,CN,F);
then I know what CreatePropertyUnitTest does, I can follow the logic.
Most of the time, I do not need to know the details.
Michael.
More information about the fpc-devel
mailing list