Why is tcl broken?

Fernando Mato Mira matomira at iname.com
Thu Jul 1 08:04:11 EDT 1999


OK. Let's dispel Lisp mith #4 and then
let's get this out of comp.lang.python
[economics are different than other groups,
 BEWARE of Netscape's scrollbar!]

Paul Duffin wrote:

> > > I am surprised at this because Tcl's [upvar] is simply an explicit form
> > > of dynamic binding which I seem to remember is what Lisp uses. (That
>
> Mistake, I think I meant dynamic scoping.

>         (defun inner (b)
>           (+ a b))
>
>         (defun outer (a)
>           (inner 3))
>
>         (outer 2)

>
> A simple macro version of setq would convert from
>         (setq symbol '(list))
> to
>         (set 'symbol '(list))

All 3 the same instance of the first misconception.
That's OLD, BROKEN Lisp!!







More information about the Python-list mailing list