|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^2: Real life uses for closures. (update: disambiguation)by BrowserUk (Pope) |
| on Feb 12, 2013 at 17:17 UTC ( #1018415=note: print w/ replies, xml ) | Need Help?? |
|
What are "delegates"? Talking about C#? I don't know C#. My use of the term delegates comes from The D programming language and is best described as a pointer to a method. That is, it is a pointer to a function that carries an implicit reference to an object instance. Ie. Equivalent to this in perl:
Closures are NOT synonymous for: ... nor for currying Agreed. But currying is one use for closures not easily achieved without them. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|