Everything about Local variable
Computer programming, a variable only usable in a portion of a program (the scope)
In computer science, a local variable is a variable that is given local scope. A local variable reference in the function or block in which it is declared overrides the same variable name in the larger scope. In programming languages with only two levels of visibility, local variables are contrasted with global variables. On the other hand, many ALGOL-derived languages allow any number of nested levels of visibility, with private variables, functions, constants and types hidden within them, either by nested blocks or nested functions. Local variables are fundamental to procedural programming, and more generally modular programming: variables of local scope are used to avoid issues with side-effects that can occur with global variables. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Local variableA 5-minute orientation
- Skim a recent paper: An Adaptive Localized Decision Variable Analysis Approach to Large-Scale Multiobjective and Many-Objective OptimizationInfluential work since 2022
- Pick up a classic book: Study of the impact of staggered work hours on public transportation costs and service levelsThe most-reprinted book on the subject
- Read the landmark paper: Proposed Experiment to Test Local Hidden-Variable TheoriesCited 6,388 times
- Go sideways: Automatic variableA closely related topic
- Go sideways: Scope (computer programming)A closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Proposed Experiment to Test Local Hidden-Variable Theories
Experimental Test of Local Hidden-Variable Theories
Variable Bandwidth and Local Linear Regression Smoothers
Experimental Test of Local Hidden-Variable Theories
Variable neighborhood search and local branching
Proposed Experiment to Test Local Hidden Variable Theories.
Local hidden–variable models for entangled quantum states
Local-to-global results in variable exponent spaces
🆕 Influential since 2022
An Adaptive Localized Decision Variable Analysis Approach to Large-Scale Multiobjective and Many-Objective Optimization
Long-distance continuous-variable quantum key distribution over 100-km fiber with local local oscillator
Unique Variable Analysis: A Network Psychometrics Method to Detect Local Dependence
Local Hölder regularity for nonlocal equations with variable powers
Phase-reference-intensity attack on continuous-variable quantum key distribution with a local local oscillator
📚 Books worth reading
Study of the impact of staggered work hours on public transportation costs and service levelsIllinois. Regional Transportation Authority · 1975- 📕Topology of algebraic varieties and singularitiesTopology of Algebraic Varieties (2009 Jaca, Spain) · 2011
Hodge theory, complex geometry, and representation theoryM. Green · 2013- 📕Zeta functions in algebra and geometryInternational Workshop on Zeta Functions in Algebra and Geometry (2nd 2010 Universitat de Les Illes Balears) · 2012
- 📕Local and Global Methods in Algebraic GeometryNero Budur, Tommaso de Fernex · 2018
- 📕Around Langlands CorrespondencesFarrell Brumley, Maria Paula Gomez · 2017
The endoscopic classification of representations orthogonal and symplectic groupsArthur, James · 2013- 📕Advances in non-Archimedean analysisGermany) International Conference on p-adic Functional Analysis (13th 2014 Paderborn · 2016
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Automatic variable In computer programming, an automatic variable is a local variable which is allocated and deallocated automatically when program flow enters and leaves…
- Scope (computer programming) In computer programming, the scope of a name binding (an association of a name to an entity, such as a variable) is the part of a program in which the…
- Global variable In computer programming, a global variable is a variable with global scope, meaning that it is visible (hence accessible) throughout the program, unless…
- Perl language structure The structure of the Perl programming language encompasses both the syntactical rules of the language and the general ways in which programs are organized…
- Sigil (computer programming) In computer programming, a sigil (/ˈsɪdʒəl/) is a symbol affixed to a variable name, showing the variable's datatype or scope, usually a prefix, as in…
- Thread-local storage In computer programming, thread-local storage (TLS) is a memory management method that uses static or global memory local to a thread. The concept allows…
- This (computer programming) this, self, and Me are keywords used in some computer programming languages to refer to the object, class, or other entity which the currently running…
- Closure (computer programming) In programming languages, a closure, also lexical closure or function closure, is a technique for implementing lexically scoped name binding in a language…