Closure (computer science): Difference between revisions
Jump to navigation
Jump to search
imported>Pat Palmer (draft 2) |
imported>Pat Palmer (draft 2) |
||
Line 1: | Line 1: | ||
A '''closure''' is a capability of certain [[programming language|programming languages]]. As with many terms relating to [[software]], there are conflicting definitions of closure within the field of [[computer science]]. According to [[Martin Fowler]]: "Some people say that the term only applies to an actual value that includes bindings from its environment...Others use the term 'closure' to refer to a programming construct that has the ability to bind to its environment." | |||
==References== | |||
==External Links== | ==External Links== |
Revision as of 19:31, 17 September 2007
A closure is a capability of certain programming languages. As with many terms relating to software, there are conflicting definitions of closure within the field of computer science. According to Martin Fowler: "Some people say that the term only applies to an actual value that includes bindings from its environment...Others use the term 'closure' to refer to a programming construct that has the ability to bind to its environment."