Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Real life uses for closures.(Reply to all respondees!)

by BrowserUk (Pope)
on Feb 12, 2013 at 17:24 UTC ( #1018417=note: print w/ replies, xml ) Need Help??


in reply to Real life uses for closures.

Many thanks to all respondees for making me think hard.

There is a lot of guff written on the web about the importance of closures; mostly supported by a) largely opaque, academic arguments; b) partiality for particular languages that (first) support(ed) them; c) trivial textbook examples where their use can often be replaced by less esoteric language constructs.

Real life examples of why they are useful are hard to find.


Comment on Re: Real life uses for closures.(Reply to all respondees!)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018417]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2015-07-02 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (29 votes), past polls