View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Discussion 3 by Elizabeth Solomon

In detail, describe a problem that you experienced in Squeak. What was the problem? Why did it happen? How did you eventually overcome this problem?

One of the most common problems I encountered occured when i ommitted a period at the end of a statement. I figured this out from the DoIT method of the debugger after repeating it a couple of times that two lines were joined together. Meaning i left the period on the previous line.
All the debugging statements looked like this:

^ lp := LinkPageWidget new lp openInWorld

instead of
^ lp := LinkPageWidget new.
lp openInWorld

Another misconception i had was that images inherited from ImageMorph are morphs hence can be rotated. This was false. It was the form that can be rotated hence had to extract that first and rotate and convert to an image.

I solved these problems by trying to look for similar mistakes on the web and researching books or asking for help from people who have encountered similar problems.

In detail, describe a feature of Squeak that you have found particularly useful. What is the feature? Why is it useful? How do you envoke it?

The Inspect feature is one that i find particularly helpful. This feature allows you to inspect the variables of a class to see if the necessary modifications were made. If they were not made then you will know you made changes to the wrong method. It tells you the values of the variables so you know it is not pointing to null.
Even though squeak seems different i think it has enhanced my ability to incorporate scalability into the designs i create.

Link to this Page