3 ms·
AFAIK original LISP is the oldest language with dynamic-scoped variables. Although these were introduced as an implementation bug at first, and modern dialects
by sekia 4y ago
AFAIK original LISP is the oldest language with dynamic-scoped variables.
Although these were introduced as an implementation bug at first, and modern dialects (Scheme / Common Lisp) eventually replaced them with lexical-scoped variables, dynamic-scoped variables are still supported with different syntax in them (parameter objects in Scheme and special variables in CL.)