View this PageEdit this Page (locked)Attachments 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 - Trung Lai

Part I: Useful Features of Squeak


Despite the fact that I am agreed with Matias Paulez on his arguments about the lack of documentations and a universal API source for Squeak, I still think that Squeak is more useful
than some other languages such as Java and C++ when come to object-oriented programming. There are a few features that probably distinctly set Squeak far apart from many other high-level
language programming environments. First of all, I found the fact that everything in Squeak is an object very useful. Unlike Java where data-types play an important role in variable
declarations and calculations, errors from incompatible types in Squeak are usually resulted from some very obvious mistakes (if such errors ever existed). Also, a programmer does not
have to go through a series of tedious steps in trying to declare the right memory space for each instance a program may require during execution’s phase as C-programmers would have to
worry about.


My second favorite about Squeak is the ability of exploring a running program with its respectable class’s structure and its hierarchy could be one of many reasons for Squeak’s
popularity. A developer can feel in complete control when he/she can access, modify, or duplicate crucial classes (or methods) with a click of a button. The halo settings are extremely
useful for this feature, especially for allowing a developer to explore, inspect and debug a running program in real-time while it is still looping in an execution process.



And finally, the main feature which I like and being offered by Squeak is its powerful graphical environment. Unlike many other languages and interfaces alike, Squeak does not
discriminate between novice programmers and advanced ones by confusing its users with lines and lines of programming codes. Rather, it represents those confusing classes and high-level
programming language codes with numerous user-friendly graphical icons/windows. This certainly helps to make a developer’s job easier, especially in the case where he/she had to navigate
through a whole library in searching for useful method (this is where module-, class-, and method-panel come in handy).





In general, Squeak is the perfect programming environment for beginning programmers like me to learn about object-orient programming and having fun with graphic design at the
same time. In particular, I like the Inspect feature which allowed me to debug my code live.




Part II


I found Mark Nichols's solution for rotating an image a useful technique. Like him, I and my teammates also had spent hours trying to figure out how to rotate an image. We finally figured out that we could rotate by using 'heading' method of SketchoMorph class. However, his method also useful for future consideration especially in the case where we would like to rotate a whole form which contains multiple images at once. For instance, rotating a page in SqueakPoint.


Another student's customized taskbar class is extremely useful for creating a look-a-like toolbar for Squeak Point Presentation. Standardized by Microsoft Power Point, we all know that a presentation creator must have a toolbar and menu of some kind. This will certainly give me and my team some ideas how to implement them. Thank you to that student for providing a public code we all can use.




Preferences: Pictures are taken from Squeak's Website Image



Links to this Page