Edited, memorised or added to reading queue

on 02-Nov-2014 (Sun)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

global vs local variables
#common-lisp #variable-binding
DEFVAR/DEFPARAMETER make global bindings, everything else local
DEFVAR/DEFPPARAMETER just globally declaim that symbol to name a special (= dynamic) variable
other bindings of same name create a local binding that shadows the global binding
any binding created by LET is local, including dynamic binding
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on




#common-lisp #variable-binding
DEFVAR/DEFPARAMETER make global bindings, everything else local
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

global vs local variables
DEFVAR/DEFPARAMETER make global bindings, everything else local DEFVAR/DEFPPARAMETER just globally declaim that symbol to name a special (= dynamic) variable other bindings of same name create a local binding that shadows the global binding




#common-lisp #variable-binding
DEFVAR/DEFPPARAMETER just globally declaim that symbol to name a special (= dynamic) variable
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

global vs local variables
DEFVAR/DEFPARAMETER make global bindings, everything else local DEFVAR/DEFPPARAMETER just globally declaim that symbol to name a special (= dynamic) variable other bindings of same name create a local binding that shadows the global binding any binding created by LET is local, including dynamic binding




#common-lisp #variable-binding
other bindings of same name create a local binding that shadows the global binding
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

global vs local variables
DEFVAR/DEFPARAMETER make global bindings, everything else local DEFVAR/DEFPPARAMETER just globally declaim that symbol to name a special (= dynamic) variable other bindings of same name create a local binding that shadows the global binding any binding created by LET is local, including dynamic binding




Flashcard 149649276

Tags
#common-lisp #variable-binding
Question
Is dynamic binding global or local? (the question is about naming convention, no need to explain actual scope)
Answer
local (because it is created by LET)

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

global vs local variables
AMETER make global bindings, everything else local DEFVAR/DEFPPARAMETER just globally declaim that symbol to name a special (= dynamic) variable other bindings of same name create a local binding that shadows the global binding <span>any binding created by LET is local, including dynamic binding<span><body><html>