Top "Lexical-scope" questions

Lexical scoping (sometimes known as static scoping ) is a convention used with many programming languages that sets the scope (range of functionality) of a variable so that it may only be called (referenced) from within the block of code in which it is defined.

What is lexical scope?

What is a brief introduction to lexical scoping?

javascript scoping lexical-scope
What is the meaning of the dollar sign "$" in R function()?

Through learning R, I just came across the following code explained here. open.account <- function(total) { list( deposit = …

r function scope lexical-scope
How do you use "<<-" (scoping assignment) in R?

I just finished reading about scoping in the R intro, and am very curious about the <<- assignment. …

r scoping lexical-scope r-faq
Referencing "this" inside setInterval/setTimeout within object prototype methods

Normally I'd assign an alternative "self" reference when referring to "this" within setInterval. Is it possible to accomplish something similar …

javascript scope lexical-scope
When is it appropriate to set a request-scoped variable in a JSP?

In my experience, it is rarely/never necessary to set scope="request" on an EL variable. For example, I have …

jsp jstl scope lexical-scope dynamic-scope
Dynamic and Lexical variables in Common Lisp

I am reading the book 'Practical Common Lisp' by Peter Seibel. In Chapter 6, "Variables" sections "Lexical Variables and Closures" and "…

lisp common-lisp lexical-scope