Closed
Description
I read this the other day: http://airspeedvelocity.net/2014/06/16/closures-and-closure-expressions-are-two-different-things/
I think it's good to use proper terminology in our style guide. A closure is something that captures from its environment. This can be a named function or it can be an anonymous inline function, aka a closure expression, defined with just { }.
In other words, just because you use { } to define a block of code doesn't necessarily make it a closure.
Metadata
Metadata
Assignees
Labels
No labels