Closure vs Anonymous function (difference?)
Posted
by
Maxim Gershkovich
on Stack Overflow
See other posts from Stack Overflow
or by Maxim Gershkovich
Published on 2011-02-06T07:07:51Z
Indexed on
2011/02/06
7:25 UTC
Read the original article
Hit count: 143
Hi,
I have been unable to find a definition that clearly explains the differences between a closure and an anonymous function.
Most references I have seen clearly specify that they are distinct "things" yet I can't seem to get my head around why.
Could someone please simplify it for me? What are the specific differences between these two language features? Which one is more appropriate in what scenarios?
© Stack Overflow or respective owner