namespaces
Craig Latta
craig at netjam.org
Mon Apr 24 18:48:12 UTC 2006
Hi Klaus--
FYI, in Spoon[1], methods are transferred between systems without using
class names at all. The Quoth application, for example, has many classes
which don't have names to begin with (they have nil in the name slot).
When a person writes a method interactively, the compiler could just
prompt for a choice when it encounters a name for which there are
multiple classes. On display, browsers could use some visual cue (e.g.,
a hyperlink) when displaying a class name that is shared by multiple
classes. The person using the browser could then ask for more
information (e.g., by clicking the visual cue).
One could, of course, group class objects in useful ways (somewhat like
class categories); but there is no need for namespaces in the
traditional sense in Spoon, because the name of each class is completely
unconstrained.
-C
[1] http://netjam.org/spoon
--
Craig Latta
improvisational musical informaticist
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]
More information about the Squeak-dev
mailing list
|