[net.lang.st80] questions on blocks

budd@arizona.UUCP (01/21/84)

Questions on blocks:

Blocks seem sort of confusing half-objects and half-not.  They are the
only object that inherit variables from their surrounding context, so
they are tied strongly to the instance in which they are found.
(and have the same sort of Funarg problems as Lisp).
On the other hand, they are objects in their own right.  So, for example,
how are the pseudo-variables
self and super to be interpreted inside a block?  Does super
refer to the class of the block (Block) or to the superclass of the
object in which the block was created?

For example, will the two messages
        super foobar
and
        [ super foobar ]  value
return the same thing?