[squeak-dev] Re: talk on Newspeak online

Vassili Bykov smalltalkbigot at gmail.com
Fri May 9 19:30:45 UTC 2008


On Fri, May 9, 2008 at 11:27 AM, Klaus D. Witzel <klaus.witzel at cobss.com> wrote:
>
> Do you mean that the following steps are not possible:
>
> 1] myPrototype := Behavior new
> 2] initialize the instVars of myPrototype properly
> 3] myPrototype class become: myPrototype
>
> Why shouldn't that be possible, right from the beginning of Smalltalk-80?

Because in step (3) at the same time as "myPrototype class" becomes
myPrototype, myPrototype becomes "myPrototype class". ST-80's become:
swaps identities, not assigns them.

Cheers,

--Vassili



More information about the Squeak-dev mailing list