e/Closure (computing)

New Query

Information
has glosseng: In Computer science, a closure is a function that has an environment of its own. Inside this environment, there is at least one bound variable. Closures were first used in programming languages such as ML and Lisp.
has glosseng: In computer science, a closure is a first-class function with free variables that are bound in the lexical environment. Such a function is said to be "closed over" its free variables. A closure is defined within the scope of its free variables, and the extent of those variables is at least as long as the lifetime of the closure itself. The explicit use of closures is associated with functional programming and with languages such as ML and Lisp. Closures are used to implement continuation passing style, and in this manner, hide state. Constructs such as objects and control structures can thus be implemented with closures.
lexicalizationeng: Closure
instance ofe/Chinese name
Meaning
Bulgarian
has glossbul: Затваряне (или closure) в програмирането е функция, която запазва (затваря) областта на видимост, в която е дефинирана, поне докато съществува референция към нея.
lexicalizationbul: затваряне
German
has glossdeu: Als Closure oder Funktionsabschluss bezeichnet man eine Programmfunktion, die beim Aufruf einen Teil ihres vorherigen Aufrufkontexts reproduziert, selbst wenn dieser Kontext außerhalb der Funktion schon nicht mehr existiert. Closures „konservieren“ also ihren Kontext.
lexicalizationdeu: Closure
French
has glossfra: Dans un langage de programmation, une fermeture ou clôture (en anglais, closure) est une fonction qui capture des références à des variables libres dans lenvironnement lexical. Une fermeture est donc créée lorsquune fonction est définie dans le corps d'une autre fonction et fait référence à des variables locales ou des arguments de la fonction dans laquelle elle est définie.
lexicalizationfra: fermeture
Italian
has glossita: Nei linguaggi di programmazione, una chiusura è una astrazione che combina una funzione con le variabili libere presenti nellambiente in cui è definita secondo le regole di scope del linguaggio. Le variabili libere dellambiente rimangono accessibili per tutta la (extent) della chiusura e pertanto persistono nel corso di invocazioni successive della chiusura. Di conseguenza, le variabili della chiusura possono essere usate per mantenere uno stato ed emulare costrutti della programmazione a oggetti.
lexicalizationita: chiusura
Japanese
has glossjpn: クロージャ(クロージャー、closure、閉包)はプログラミング言語における関数の一種。引数以外の変数を実行時の環境ではなく、自身が定義された環境(静的スコープ)において解決することを特徴とする。関数とそれを評価する環境のペアであるともいえる。この概念は少なくとも1960年代のSECDマシンまで遡ることができる。
lexicalizationjpn: クロージャ
Dutch
has glossnld: In de informatica is een closure een combinatie van een functie met een eigen lokaal variabelenbereik (of: omgeving, engels: environment) waarbij de functie gebruik maakt van één of meer variabelen in dit bereik. Wanneer de functie aangeroepen wordt heeft deze toegang tot de variabelen in dit bereik, ook al liggen deze buiten het aanroepende bereik.
lexicalizationnld: closure
Polish
has glosspol: Domknięcie - w metodach realizacji języków programowania jest to obiekt wiążący funkcję oraz środowisko w jakim ta funkcja ma działać. Środowisko przechowuje wszystkie obiekty wykorzystywane przez funkcję, nie będące dostępne w globalnym zakresie widoczności. Realizacja domknięcia jest zdeterminowana przez język, jak również przez kompilator.
lexicalizationpol: Domknięcie
Portuguese
has glosspor: Em ciência da computação e na programação uma closure é uma função que referencia variáveis livres no contexto léxico. Uma closure ocorre normalmente quando uma função é declarada dentro do corpo de outra, e a função interior referencia variáveis locais da função exterior. Em tempo de execução, quando a função exterior é executada, então uma closure é formada, que consiste do código da função interior e referências para quaisquer variáveis no escopo da função exterior que a closure necessita.
lexicalizationpor: closure
Russian
has glossrus: Замыкание в программировании — процедура, которая ссылается на свободные переменные в своём лексическом контексте.
lexicalizationrus: замыкание
Castilian
lexicalizationspa: clausura
Thai
has glosstha: ในภาษาโปรแกรม ส่วนปิดคลุม (closure) คือฟังก์ชันที่อ้างถึงโดยตัวแปรอิสระในบริบทของศัพท์
lexicalizationtha: ส่วนปิดคลุม
Ukrainian
has glossukr: В програмуванні, замиканням називається підпрограма, що виконується в середовищі, що містить одну або більше зв'язаних змінних. Під час виконання, підпрограма має доступ до цих змінних.
lexicalizationukr: замикання
Chinese
has glosszho: 在计算机科学中,闭包(Closure)是词法闭包(Lexical Closure)的简称,是引用了自由变量的函数。这个被引用的自由变量将和这个函数一同存在,即使已经离开了创造它的环境也不例外。所以,有另一种说法认为闭包是由函数和与其相关的引用环境组合而成的实体。
lexicalizationzho: 闭包

Query

Word: (case sensitive)
Language: (ISO 639-3 code, e.g. "eng" for English)


Lexvo © 2008-2025 Gerard de Melo.   Contact   Legal Information / Imprint