Why we should EXTEND {} in Squeak

Lex Spoon lex at cc.gatech.edu
Wed Oct 3 16:02:22 UTC 2001


> 'Welcome to my {'great' bold} Squeak document.'

In Squeak, you never need to *program* large amounts of text.  You can
make a Text instance, open it in, say, a PluggableTextMorph, and then
put your Text together in the GUI.  When finished, store the text into a
class variable.  To file it out, use SmartRefStream.

And note that you often don't even have to save things to a class
variable.  You can often just leave your constructions on the screen, or
on a page in a bookmorph.



> The idea was inspired by the work being done at wwww.curl.com. The notion is
> to create a kind of Squeak based content language. One element of this is to
> make it simple to output formatted text.

It's a lot better than HTML.  :)  If I remember right, though, it's
strongly based on text-in-files, and so it's not really the same thing
as Squeak.


-Lex




More information about the Squeak-dev mailing list