[fpc-pascal] Re: Delphi's anonymous functions in Free Pascal
AriochThe at gmail.com
Thu Aug 30 11:26:27 CEST 2012
Pascal never was a toy language. It always have too much required
Basic, Logo - let them be. But not the Pascal.
It was educational language but it was damn serious educational language.
However i believe that your "but pointer math" is only a matter of habit.
Function pointers, virtual methods, interfaces - they all mean when you see
function call you don't know which function is actually called.
You think of them as easing the reading only because you got used to them.
You mastered those concepts and recognition patterns. Show that code to old
school Classic Basic programmer, and he would flee in awe.
For a long time i sticked to Delphi 5 and did not see any benefit to
upgrade, so i understand programming in classic ObjectPascal. But call me
spoiled, I finally switched to XE2 and generics and closures do simplify
code. But of course when and after you make them patterns you recognize at
1st glance. So, habits.
Well, finally good bye. :-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Delphi-s-anonymous-functions-in-Free-Pascal-tp4911527p5711063.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal