Hi guys

I was reading the definitions we sent around and I have some questions about =>



Object subclass: #TestLocal
slots: { #local => ProcessLocalSlot }
classVariables: {  }
category: 'SlotTestGuille'.


Object subclass: #TestLocal2
slots: { #local => ProcessLocalSlot default: 5}
classVariables: {  }
category: 'SlotTestGuille'.


Are we sure that we want to use that =>
I thought about = but this is not an assignement this is a declaration and normally we use | for declaration.
So what would be other alternatives before the world use =>


Then I still do not understand why we have empty classVariables: to me it does not make sense. I do not get why we like to have empty collections for the sake of having empty collections. We are trapped in some strange ways of thinking.

Object subclass: #TestLocal
slots: { #local => ProcessLocalSlot }
classVariables: {  }
category: 'SlotTestGuille'.

=>

Object subclass: #TestLocal
slots: { #local => ProcessLocalSlot }
package: 'SlotTestGuille'.



Reply via email to