Scripting languages and IDEs (was: If python goes EToys...)

Philippe Marschall philippe.marschall at gmail.com
Fri Aug 25 13:29:41 UTC 2006


25 Aug 2006 15:10:43 +0200, Lex Spoon <lex at cc.gatech.edu>:
> Marcel Weiher <marcel at metaobject.com> writes:
> > One idea that's been on my mind for a bit is that maybe for an OO
> > scripting system, classes should be defined in separate script files?
> > So the script file itself can define a sort of implicit class context,
> > but this can vary.  Hmm..
>
> That sounds good to me. Or maybe better, a script file could have an
> *instance* of a particular (unnamed) class, unless you put a special
> header at the top of the file to make it a re-instantiable class.
> Defaults matter, and defining classes in script files is the less
> common case.

I really like this idea. I often asked myself why Ruby and Python
don't do that. This way they wouldn't need to implement puts and exit
in Object.

Philippe



More information about the Squeak-dev mailing list