Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Closure (computer science)

From Citizendium - Reading time: 1 min

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

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."[1]

The Ruby programming language article has a discussion of closures.

References[edit]

  1. "Closure". © Copyright Martin Fowler, all rights reserved (2007). Retrieved on 2007-09-17.

Licensed under CC BY-SA 3.0 | Source: https://citizendium.org/wiki/Closure_(computer_science)
14 views | Status: cached on October 30 2024 23:12:43
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF