Finally, many methods contain a comment which demonstrates a typical use of that method.
Although the smalltalk language itself is simple and easy to learn,
there is a huge class library containing ready to be used building blocks.
Dont get shocked by the number of existing classes and methods
- you dont have to know and remember everything by heart
(even the authors of those systems need the browser to find their way through ;-).
The main differences are found in the implementation of the view classes; it is highly recommended, to read:
which gives you a step-by-step tutorial on this.When programming, start with some of the included graphical demos. Load them using the FileBrowser and have a look at and understand the code.
Nice short demos are found in the directory "doc/coding
"
and "clients/Demos
". Most of these demos try to point
out a specific feature. The stuff in "doc/coding
" is less
oriented toward graphics.
Then turn to the more complex demos - the DrawTool
is a pretty
(and powerful) application to look at.
Also, the 3D demos found in "clients/GLdemos
" invite to
play and try new things.
The later text also gives you a step-by-step guide and example of how you can create and include your own binary class libraries.
Copyright © Claus Gittinger Development & Consulting, all rights reserved
(cg@ssw.de)