On 2013-04-04, at 17:42, Paul Davidowitz <[email protected]> wrote:

> The Slot work looks great!  For now, I have these questions:
> 1) Will a slot be able to enforce the notion of privacy, such that the
> slot can only be called by self?  

well full privacy is going to be difficult, but using unique symbols (aka 
Strings)
as identifiers combined with strong equality, you can get something close to 
private
slots.

> The current implementation of the
> 'pvt' prefix doesn't seem to work for me.

Which image did you use?

> 2) The 'Flexible Object Layouts' paper in listing 4, doesn't smell right
> for ManySlot>>initializeInstance: which has a super call which is not
> #initializeInstance:

yes that should be a self send, since it is not overwritten anywhere else in 
the hierarchy.

Reply via email to