Hi all, Apologies if I've had my head in the sand but I see some posts in here about adding slots and I don't know what they are. How are these going to help me as an application programmer? Is there an idiot's guide somewhere? Thanks. In ignorangce, Jeff. -- View this message in context: http://forum.world.st/Slots-tp4809344.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
http://rmod.lille.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLa... On Wed, Mar 4, 2015 at 9:20 AM, Jeff Gray <jeff@rogerthedog.com> wrote:
Hi all, Apologies if I've had my head in the sand but I see some posts in here about adding slots and I don't know what they are. How are these going to help me as an application programmer? Is there an idiot's guide somewhere? Thanks. In ignorangce, Jeff.
-- View this message in context: http://forum.world.st/Slots-tp4809344.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 04 Mar 2015, at 02:20, Jeff Gray <jeff@rogerthedog.com> wrote:
Hi all, Apologies if I've had my head in the sand but I see some posts in here about adding slots and I don't know what they are. How are these going to help me as an application programmer?
Yes, but we need to learn how to use them ourselves⦠The idea is that we ship Pharo4 with the Slot mechanism + Examples. Then in Pharo5, we will distill a library of useful Slots that then people can just use. Slots at first will be very important for the System programmer: to control how instances are stored in Memory. This will allow simpler designs (e.g. look at MorphExtension). Then certain slots will show to be very useful in general. For example the WeakSlot I am sure people will like, as it allows you to use weak state exactly how you thought it would work. Another example is a Slot that announces that it has been changed. This will be used a lot in UI level code. (see the experimental GLMPhlowSlot).
Is there an idiot's guide somewhere?
Not yet really⦠I want to first finish Slots+Reflectivity to that state as they should be for Pharo4, after I will write a tutorial. Marcus
Hey Jeff! As Marcus said, we're all in a similar position regarding slots, figuring them out as we go. A question like this is better for the users mailing list so it doesn't get lost in the flood of development-related posts, and also to save our devs' mailboxes ;) Thanks. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Slots-tp4809344p4809418.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (4)
-
Ben Coman -
Jeff Gray -
Marcus Denker -
Sean P. DeNigris