A Squeak version of "How to Think Like a Computer Scientist"

Karl Ramberg karl.ramberg at chello.se
Sun Feb 3 08:31:34 UTC 2002


Scott Wallace wrote:
> 
> Consider perhaps:
> 
>         (StringMorph contents: 'hello world') openInHand
> 
>    -- Scott
Even better
Speaker manWithHead say: 'hello world'

Karl
> 
> At 10:25 AM -0800 1/29/02, Ned Konz wrote:
> >On Monday 28 January 2002 08:19 pm, Aaron J Reichow wrote:
> >>  Is there another person or two who would be interested in giving me
> >>  a hand to Squeakify this text, introducing a Squeak book that would be
> >>  pretty comprehensive for beginners?
> >
> >And so we see yet another computer programming intro that starts with "hello
> >world"...
> >
> >How would one present that in Squeak?
> >
> >* get to the world menu, or to the Tools pane, or to the Objects tool
> >* open a Transcript (from the menu), or drag out a Transcript
> >* open a Workspace, or drag out a Workspace
> >* type in something like:
> >
> >Transcript show: 'hello world'
> >
> >* select it, or hit alt-d (or cmd-d, depending on whether you have a mac)
> >* now look in the transcript
> >
> >As you see, the focus is suddenly more on the environment than on the
> >language. This isn't surprising, of course, given that one of the most
> >important parts of Squeak is the envirionment.
> >
> >But the focus of the book is on the language; I wonder how well Squeak would
> >fit in to this book form.
> >
> >Also, it doesn't seem like this presentation would show Squeak's best side
> >(that is, why print text into the Transcript when one could make things move?)



More information about the Squeak-dev mailing list