<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
<DIV>Hmm... I have serious doubt the anonymous methods (actually referenced
objects as previously discussed) will be discouraged.</DIV>
<DIV>If anything they are more and more used across the majority of the
languages, as they have huge advantages. As discussed a single anonymous method
can, and usually does replace a whole class declaration and implementation, so
the chance of them being discouraged is very slim.</DIV>
<DIV>We have converted the majority of our code to use them in the last 2 years,
and that reduced the code to 1/4 of the original size.</DIV>
<DIV>All new code we write in my company is 100% anonymous methods
centric.</DIV>
<DIV>So far this has worked well for us, but sure the future will show who is
right on this one ;-) .</DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">With best
regards,<BR>Boian
Mitov<BR><BR>-------------------------------------------------------<BR>Mitov
Software<BR>www.mitov.com<BR>-------------------------------------------------------</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=skalogryz.lists@gmail.com
href="mailto:skalogryz.lists@gmail.com">Dmitry Boyarintsev</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 23, 2014 7:39 PM</DIV>
<DIV><B>To:</B> <A title=fpc-devel@lists.freepascal.org
href="mailto:fpc-devel@lists.freepascal.org">FPC developers' list</A> </DIV>
<DIV><B>Subject:</B> Re: [fpc-devel] Suggestion: reference counted
objects</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>That's exactly what I wanted to confirm - no name - for an
anonymous function.
<DIV> </DIV>
<DIV>I'm sure eventually the development society, will discourage the use of
anonymous functions (just like unnamed constants are considered to be a bad
pattern). Thus the only thing that would remain welcomed are closures - copying
the execution context for further invoke of a function.</DIV>
<DIV> </DIV>
<DIV>thanks,</DIV>
<DIV>Dmitry<BR>
<DIV class=gmail_extra><FONT size=2
face=Arial></FONT> </DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>