What Are Closures?
Closures are
- Executable functions
- Objects with state
They usually crop up as lambda expressions
They are hard to understand
- Nothing like them in C, C++, Java, VB, or any other traditional language
- They are functions with a "memory"