Something I sorely missed when I still worked for the man.
Anyhow, in Lisp, visually, a LET with it's enclosing parens makes it much faster to see the closed-over variables.
Anyhow, in Lisp, visually, a LET with it's enclosing parens makes it much faster to see the closed-over variables.
For example, in CL, this guy's example would take the general form:
(let ((counter 0))
(defun tally ()
(incf counter)))
So, in this form, I know that TALLY hides/closes over COUNTER, without needing to inspect the function body (either before, or within a λ that might be returned from within the function body).