A few random comments from an eToy newbie
ned at bike-nomad.com
Mon Apr 7 21:14:39 UTC 2003
On Monday 07 April 2003 01:54 pm, Alan Kay wrote:
> Hi --
> At 12:20 PM -0700 4/7/03, Ned Konz wrote:
> >On Monday 07 April 2003 11:13 am, Alan Kay wrote:
> >> There are no nil variables, all variables have some concrete
> >> object in them, and there is a rudimentary type system (which
> >> needs to be done better).
> >But this is inconsistent and confusing from a user point of view.
> Why? There is an object of some kind in every variable. E.g.
> numeric variables start with a "5" or something. What's
> inconsistent about it? More interesting, why do children find this
> to be quite consistent? The kind of object the variable is willing
> to hold can be changed with the menu on each variable line in the
I'm OK with this with regards to variables. What I found inconsistent
was the Holder behavior.
> >* Make a new Holder. You don't see anything in it. Its cursor is
> > at 1.
> >* Then run a script that does:
> > Holder includeAtEnd Holder's firstElement
> >Now you see a dot in it, but its cursor is still at 1. From a
> >programmer/scripter point of view, the "before" and "after" states
> >are the same. However, the Holder *looks and acts* different:
> > there is now a dot in it that can be viewed and grabbed, while
> > before there wasn't.
> The Holder isn't a variable (but perhaps it should be). But the
> behavior you describe sounds like a bug. The variable
> "playerAtCursor" seems to hold the default player called "dot", so
> perhaps we should see it in the holder (Scott?)
Is it intentional that multiple unscripted players are being created
(i.e. one for each Holder)? This makes it confusing, as you can have
multiple script references to "dot" that are in fact references to
GPG key ID: BEEA7EFE
More information about the Squeak-dev