Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 perusing the Monastery: (13)
As of 2014-10-31 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (223 votes), past polls