re: WTF Is a Lambda? VIEW POST

FULL DISCUSSION
 

I think it's worth pointing out that a lambda is not simply a shorthand for function declaration. IsAmy is a function. The other two variants are both lambdas and they differ from functions in that they capture all the locals and globals that are visible in the scope where the lambda is defined. IsAmy has no access to those.

 

Thanks for this, an important clarification and I appreciate you taking the time to outline it here :-)

code of conduct - report abuse