Besides simple C-style 'static' storage (which can now be done more easily with state variables); currying and delegates (are they essentially the same thing?); what uses do people put closures to?
I'm looking for real world examples (in Perl or other languages), rather than contrived text book examples.
In reply to Real life uses for closures. by BrowserUk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |