newbie question: scratch work in smalltalk
Dwight Hughes
dwighth at ipa.net
Sun Sep 5 01:36:00 UTC 1999
Well, I would recommend creating a new system category and putting your
scratch classes in there. You can very easily remove a system category
and all the classes it contains, or change the system category for each
of your classes to whatever you want later. You can best use workspace
windows to interactively develop the functionality to put in your
methods in these classes -- a nice aspect of workspace windows in Squeak
is that you do not have to explicitly define temporary values - you can
just use them, and the values assigned to them persist until they are
assigned another value, so interactive experimentation is made easier.
If you are unsure about how to create a system category and such, you
might check out the Bank Account tutorial at
http://www.squeak.org/tutorials/BankAccount.html -- it walks through a
number of the basic getting started issues like this.
-- Dwight
Mayer Goldberg wrote:
>
> Hello Squeakers:
>
> If I want to do some experimentation in smalltalk and need to define some junk
> classes ... just for the sake of testing, is there some place where I can do this less
> formally than by defining a special project?? For example: Is there some easy way to
> define a class and its methods in ... sorry ... a workspace window?
>
> Thanks,
>
> Mayer
More information about the Squeak-dev
mailing list
|