Smalltalk language limitation ?
Aaron Gray
angray at beeb.net
Mon Dec 6 11:16:51 UTC 2004
>> I also am finding that I do something in the workspace once and it does
>> not
>> work then doing it again and it does with no obvious difference that I
>> can
>> determine right now, maybe with a bit more experience I will see why.
>
> One thing worth knowing is that if you do not declare your temporaries
> in a workspace they will be created as bindings in the workspace, and
> thus "survive" for later code snippets.
>
> That is the only thing I know that could cause the "same" code to behave
> differently the next time. Disregarding state in globals of course. :)
I do not think that was it, maybe something to with my use of full stops
perhaps although this maybe another issue ?
I did seem to have code that would not compile one minute and would the
next, but as I say it may have been my inexperience with SmallTalk and
Squeak in general.
Aaron
More information about the Squeak-dev
mailing list
|