On 07 Jun 2014, at 19:32, Camille Teruel <camille.ter...@gmail.com> wrote:

> You can use the old syntax for class declaration for creating classes, i.e. :
> 
> Superclass subclass: #MyClass
>       instanceVariableNames: 'x y z' 
>       classVariableNames: '' 
>       category: 'MyProject'
> 
> However, the compiler does not take slots into account yet, so custom slots 
> will only be available for Pharo 4.
> There is a still some work to do in the new class builder and in the slot 
> architecture to make it usable.
> 
Yes, we need to start to really work on that… right now the state is that there 
is only one kind of Slot which
is the classic Ivar Slot. 

If we want more, we need to add some more infrastructure first
        -> Slot needs to be the abstract superlclass of all slots
        -> Ivar slot needs to be a subclass
        -> the compiler needs to delegate code generation to the slot class
        -> we need a new class template for classes with slots
        -> Monticello support


        Marcus


Reply via email to