Closures

Niko Schwarz niko.schwarz at gmx.net
Mon Feb 3 12:42:44 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 3. Februar 2003 13:28 schrieb goran.hultgren at bluefish.se:

> Well, the image is in fact simply wonderful - a world of objects that
> interact with each other with full dynamics. But of course the freedom
> and dynamics of an image makes modules etc much more complicated. But as
> a Smalltalker I would never give up the image just to get "nice
> modules".

Hey Göran, how about self which joins code and image into the same thing. To 
be honest I like the idea of self that the separation of classes and objects 
is unnecessary, and I love the slot concept too, which draws no difference 
between function calls and accesses to instance variables.

I think modules should contain objects too. When you draw no difference 
between image and code, you need no gui-builder, cos you can simplystick 
together some widgets to a gui and then save it somewhere in the snapshot, 
and when code needs the gui, it simply loads the gui, without constructing it 
widget by widget. 
And when modules contain objects anyway -- why would we bother to separate 
code and object space?

regards,

nick
- -- 
Give thought to your reputation.  Consider changing name and moving to
a new town.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+PmPI3P3nmXTVnC8RAlk8AKCs+8JDvMPzsyqPb3apev/2jxARlACfcXmI
4Ymk8ZBKNramtJ74YCZznyw=
=8dF/
-----END PGP SIGNATURE-----



More information about the Squeak-dev mailing list