[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

method objects



Self method objects have slots corresponding to the
arguments and "local variables" and a pseudo slot
called <code>. The code object has slots named source,
fileName, lineNum, literals and codes. Is this still
true for Self 4.0?

I was wondering if it wouldn't be better to include
all these slots as pseudo slots in the method object
itself in order to get rid of the <code> object. It
seems to me that mirrors already present a view of
the world very close to this anyway.

-- Jecel