why scripting (was: Thoughts from an outsider)

Lex Spoon lex at cc.gatech.edu
Thu Aug 31 17:05:16 UTC 2006


"Giovanni Giorgi" <daitangio at gmail.com> writes:
> And there are plenty ways of doing scripting in squeak.
> For instance the simpler way is to fire up a Squeak server and send it
> the content of a text file (network cat o nc can be used to do it in a
> snap) on a pre-defined port.
> This is totally unsafe, but pretty fast to do.
> My 5 cents (yes I am coming richer!)

Try it, and you will find that there are a lot of details you have to
worry about.  Where is the image and VM you use for running the
scripts?  How do you access stdin and stdout?  How do you define
methods and classes?  Where does the output go when there is a syntax
error or runtime error in your script?

These are all simple issues, but there are a lot of them.

-Lex




More information about the Squeak-dev mailing list