Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Discussion 3 - Chris Whalen
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?
The biggest problem with squeak is the lack of documentation for the code. I understand that the code itself is a form of documentation but it isn't enough. When want to use a class, I don't want to spend an hour digging through the code and digging through the code's inherited hierarchy to understand how to use the class and all of its methods. Even then you still might not be able to figure out how to manipulate squeak into acting how you want it to. For example, with Squeak Pointís images boxes, when a rotation of the SketchMorph is executed a TransformationMorph is created. If you try to set the position after the rotation of the SketchMorph you get the morphís new position at some undesirable location. I do believe the TransformationMorph is affecting this position. But I can only look and guess so much. There is no documentation explaining anything nor are there any use cases where someone else has had this problem. Iíve searched Google and browsed the Swiki but squeak just doesnít have as much documented code examples as languages such as Java. Iíve had to ignore the problem till I have time to dig around some more and piece the behaviors together. Maybe then Iíll write something on my findings to help alleviate squeaks lack of documentation.
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 invoke it?
The browser is a godsend for this language. The language would be unusable if this feature did not exist. It can be invoked using the (click on world)->(open)->(browser). However I find it incredibly useful to highlight a class in an already open browser and press alt+b. This will open the class in a new browser. This cuts down on a lot of scrolling to find classes or class searches. It allows you to jump through a classís hierarchy and jump to classes found in methods.
Discussion 3 - Ashley Durham
I had been looking for this feature for a while now! I remembered Jeff using it in class but forgot how to access it. This will save precious time, instead of scrolling through a classís 100 methods.
Syntax highlighting in squeak? Brilliant! This will help prevent me from missing periods and suffering the same fate as Arcadiy. I wonder if it will help with message control?
Links to this Page