Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Discussion 3 - Joaquin Estrada
Choose one of the following to post about:
1. 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?
2. 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?
2. In order to code in the most effective way, I utilize the tools in the menus surrounding the Squeak interface. A couple of the tools that I use are in the Tools menu bar on the right side of a screen, the message names tool is particularly helpful to me. With it you can look up method names that you might want to use but you don't know how. It can be dragged from out of the Tools sidebar or you can press alt-shift-w.
The method finder tool is similar to the message names tool and can also be accessed from the side Tools menu bar.
To use the method finer, just type into the top pane or use an example to find a method in the system. Type receiver, args, and answer in the top pane with periods between the items. Ex: 3. 4. 7 –> produces +
This will tell you all of the method that use parameters in this fasion.
Lastly, the object catalog in the Widgets menu bar (on the bottom of the screen) gives a lot of objects that we have been using a lot in class organized by categories. The object catalog provides easy access to objects like books, clocks, watches, and other visual tools.
All of these instances of tools help to visually tie in all of the aspects of code before you have to look at the code.
Nick Bowman's Discussion 3
One of the things that I found particularly helpful and frustrating at the same time was to actually use the heirarchy while coding. Previously I had only used it to know what classes I wanted to extend, but now I'll be a doing a lot more "heirarching". (The only reason why I said it's frustrating at the same time is because that heirarchy can be very complex to "hunt down" whatever it is you're looking for–especially if you don't know the name of the method you're looking for)
Jiasheng He's Discussion 3
I'm really glad I read Jiasheng's post because now I can code without the stress of fifty million browsers open at the same time. The annoying thing about a lot of browsers at the same time is that I constantly need to open more of them...(since Squeak is practically a "research-type", internal API)... so any way that I can consolidate on the number of browsers is definitely cool.
Links to this Page