| Historically, languages designed for other people
to use have been bad: Cobol, PL/I, Pascal, Ada, C++.
The good languages have been those that were designed for their own creators: C, Perl, Smalltalk, Lisp. (Paul Graham) |
More literature links are found here.
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.
Don't get shocked by the number of existing classes and methods
- you don't 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 recommended, to read:
which gives you a step-by-step tutorial on this.If you want to do some GUI programming, read:
which gives a short introduction on how to use the UIPainter, which is a tool for painting graphical user interfaces.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"clients/Demos".doc/coding"
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 examples of how you can create and include your own binary class libraries.
Look into already existing methods which include primitive code to see
concrete examples. A browser on all methods with primitive code is opened by:
(be a bit patient; startup takes a while, since the source of all methods has to be processed...)
Tools::NewSystemBrowser
browseMethodsWhere:[:cls :mthd :sel | mthd hasPrimitiveCode]
title:'methods with primitive code'
If your system supports dynamic loading of binary code (currently SYS5-based, Solaris, Linux and Windows-based systems), primitive (i.e. C-) code can be typed right into the browser and accepted.
Copyright © 1996-2007 Claus Gittinger Development & Consulting, all rights reserved
Copyright © 2003-2007 eXept Software AG, all rights reserved
<info@exept.de>
Doc $Revision: 1.43 $ $Date: 2009/09/21 13:52:21 $