Tag: scope

Found 105 results for 'scope'.

1) bash - bash: variable loses value at end of while read loop
2) python - What does `if name == "__main__"` mean in Python?
3) python - Python function calls are bleeding scope, stateful, failing to initialize parameters?
4) python - Using global variables in a function
5) javascript - How do JavaScript closures work?
6) powershell - variable set in Windows Powershell of Jenkins build, not available in other build steps
7) java - A variable to be stored in Java permanently, access and edit it later
8) python - How to change the scope of a variable in a function? Python
9) python - Why do list operations in python operate outside of the function scope?
10) python - Using global variables in a function
11) c# - Is there a reason for C#'s reuse of the variable in a foreach?
12) php - When should I use 'self' over '$this'?
13) python - How to create module-wide variables in Python?
14) javascript - What's the difference between using "let" and "var"?
15) python - Don't understand why UnboundLocalError occurs (closure)
16) bash - Bash variable scope
17) algorithms - What is required for a scope in an injection framework?
18) scope - Is it possible to have nested functions, without having closures, in a lexically scoped language which has first class functions?
19) c - How to make it obvious that a function is being accessed from the outside?
20) c++ - Nested classes vs namespaces
21) javascript - What is the scope of variables in JavaScript?
22) scope - Should product scopes and/or project scopes be considered for small internal development work
23) python - Accessing a variable from outer scope via global keyword in Python
24) javascript - Where are arguments positioned in the lexical environment?
25) python - Explaining the 'self' variable to a beginner
26) javascript - Confusion with JavaScript scoping
27) javascript - Define a global variable in a JavaScript function
28) ipv6 - ipv6 : why ndp resolves to global scope address?
29) python - Short description of the scoping rules?
30) c# - Is there a reason for C#'s reuse of the variable in a foreach?
31) scope - What did programmers do before variable scope, where everything is global?
32) php - When should I use 'self' over '$this'?
33) python - Python decorators and class methods and evaluation -- django memoize
34) c++ - Overloaded child class function cannot call parent of similar name
35) python - Scoping in Python 'for' loops
36) c++ - Block Scoped and Function Scoped Languages
37) php - What is the scope of require_once in PHP?
38) javascript - What is the purpose of wrapping whole Javascript files in anonymous functions like “(function(){ … })()”?
39) object-oriented - Nested functions: should I explicitly pass arguments or rely on scope?
40) variables - What is the use case for shadowing variables?
41) python - lambda function accessing outside variable
42) python - Local variables in nested functions
43) testing - What is the best way to handle last minute changes to product scope?
44) java - Is Java package level scope useful?
45) c - Does It Matter If I Declare A Variable Inside A Loop?
46) programming-languages - Is it OK to use dynamic typing to reduce the amount of variables in scope?
47) javascript - JavaScript closures vs. anonymous functions
48) c++ - Why is it OK to return a 'vector' from a function?
49) javascript - AngularJS module: this versus $scope
50) python - How does scope work with try and except blocks in python?