[Pharo-users] Slots doc

webwarrior reg at webwarrior.ws
Mon Feb 4 15:17:15 EST 2019


Vitor Medina Cruz wrote
> Thanks, I had already read this paper, which got me interested in the
> concept of slots :) . Is it a prototype in Pharo or is ready to use? it
> will become as an official part of it?
> 
> 
> On Sun, Feb 3, 2019 at 10:13 AM Ben Coman <

> btc@

> > wrote:
> 
>>
>>
>> On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users <
>> 

> pharo-users at .pharo

>> wrote:
>>
>>> Seems like an opportunity...I have no idea what the addition of slots
>>> does but I would like to learn.
>>>
>>> On Feb 3, 2019, at 1:33 AM, ducasse <

> stepharo@

> > wrote:
>>>
>>> Hello,
>>>
>>> Where I can find documentation for slots?
>>>
>>> I am trying to access the pharo books site but it is unreachable from my
>>> network right now, I got a connection time out (It works from my 3G
>>> though
>>> (??) ), but if I remember correctly the is no slot description in any
>>> book.
>>>
>>> Regards,
>>> Vitor
>>>
>>>
>>> Hello victor
>>>
>>> There is no documentation about slots that I know. I’m sorry.
>>> Marcus may want to write one in the future.
>>>
>>> Stef
>>>
>>>
>> I believe its an implementation of this paper...
>>
>> https://rmod.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLayouts.pdf
>>
>>
>> cheers -ben
>>

Slots are already part of Pharo and are totally useable.
Some example slots are buggy though.

Explore Slot and subclasses, their class comments and methods.

One thing to note is if you change #emitStore: or #emitValue: methods in
your slot class, you need to trigger change in classes that use it.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



More information about the Pharo-users mailing list