Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 18:17, Vitor Medina Cruz wrote: > > > Ok, thanks, I think I am understanding. > > I was trying to create a class to experiment but if I try to: > > Object subclass: #TestClassWithSlots > slots: { } > classVariables: { } > package: 'Experiment-Slots' > > Cod

Re: [Pharo-users] Slots doc

2019-02-06 Thread Vitor Medina Cruz
Ok, thanks, I think I am understanding. I was trying to create a class to experiment but if I try to: Object subclass: #TestClassWithSlots slots: { } classVariables: { } package: 'Experiment-Slots' Code is reversed to: Object subclass: #TestClassWithSlots instanceVariableNames:

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 13:25, Vitor Medina Cruz wrote: > > Thanks, I was looking for usages of InstanceVariableSlot. All instance variables are InstanceVariableSlots. But to make it less verbose, we have a way to specify these without having to put the name. Object subclass: #Point

Re: [Pharo-users] Slots doc

2019-02-06 Thread Vitor Medina Cruz
Thanks, I was looking for usages of InstanceVariableSlot. In the case of SlotExampleMovie, #name and #year are of IntanceVariableSlot layout (this definition is correct? A slot is or has some Layout defined by the Slot class?) On Wed, Feb 6, 2019 at 10:14 AM Marcus Denker wrote: > > > > On 6 Fe

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 12:41, Denis Kudriashov wrote: > > Would be nice to have a command in browser to show users of selected slot > Yes! Marcus

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 12:30, Vitor Medina Cruz wrote: > > I couldn't find examples of Slot usage. Is there any ackage I can load that > use it so that I can look as an example? The Slot-Tests has some. But most tests there are creating classes not he fly (to test the creation) The only clas

Re: [Pharo-users] Slots doc

2019-02-06 Thread Denis Kudriashov
Would be nice to have a command in browser to show users of selected slot 6 февр. 2019 г. 11:32 пользователь "Vitor Medina Cruz" написал: I couldn't find examples of Slot usage. Is there any ackage I can load that use it so that I can look as an example? On Mon, Feb 4, 2019 at 6:17 PM webwarrio

Re: [Pharo-users] Slots doc

2019-02-06 Thread Vitor Medina Cruz
I couldn't find examples of Slot usage. Is there any ackage I can load that use it so that I can look as an example? On Mon, Feb 4, 2019 at 6:17 PM webwarrior wrote: > Vitor Medina Cruz wrote > > Thanks, I had already read this paper, which got me interested in the > > concept of slots :) . Is i

Re: [Pharo-users] Slots doc

2019-02-05 Thread Marcus Denker
>>> > > Slots are already part of Pharo and are totally useable. > Some example slots are buggy though. > Yes, I have a list of issues to fix. Especially related to instance migration when changing class definitions. (among others). I sometimes wonder how to find the concentrate time to real

Re: [Pharo-users] Slots doc

2019-02-04 Thread webwarrior
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 S

Re: [Pharo-users] Slots doc

2019-02-04 Thread Esteban Lorenzano
> On 4 Feb 2019, at 20:11, 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? Is ready, is official, is there :) Esteban > >

Re: [Pharo-users] Slots doc

2019-02-04 Thread Vitor Medina Cruz
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 wrote: > > > On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users

Re: [Pharo-users] Slots doc

2019-02-03 Thread Ben Coman
On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users < pharo-users@lists.pharo.org> 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 wrote: > > Hello, > > Where I can find documentation

Re: [Pharo-users] Slots doc

2019-02-03 Thread Todd Blanchard via Pharo-users
--- Begin Message --- 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 wrote: > >> Hello, >> >> Where I can find documentation for slots? >> >> I am trying to access the pharo books site but it is unrea

[Pharo-users] Slots doc

2019-02-03 Thread ducasse
> 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. > > Regar