CSC/ECE 517 Spring 2014/ch1 1w1l m
Design Patterns Involving Closures
Background
What is a closure?
According to Peter Norvig's <ref>Design Patterns in Dynamic Languages</ref>, closures can be considered "behaviors with attached state data and without the overhead of classes." This is the inverse of objects, which are state data with behaviors attached, and closures encapsulate local state variables.
Examples
Narration
Links to Important Terms
References
<references />