A critic of Guido's blog on Python's lambda

Alexander Schmolck a.schmolck at gmail.com
Fri May 12 15:40:54 EDT 2006


Ken Tilton <kentilton at gmail.com> writes:

> In Common Lisp we would have:
> 
>     (defvar *x*) ;; makes it special
>     (setf *x* 1)
>     (print *x*) ;;-> 1
>     (let ((*x* 2))
>        (print *x*)) ;; -> 2
>     (print *x*) ;; -> 1

You seem to think that conflating special variable binding and lexical
variable binding is a feature and not a bug. What's your rationale?

'as



More information about the Python-list mailing list