[Traits] Namespaces(environments?), SystemChangeNotifier, ...
Klaus D. Witzel
klaus.witzel at cobss.com
Mon Apr 24 08:40:26 UTC 2006
List,
for a new project we plan to create a namespace which can and will have
names clashing with existing global names like Object[tm] and Process[tm].
All behavior will be specified in form of Traits (for the immediate future
only classTraits).
We've looked around in the Traits implementation [3.9a] and found a good
namespace separation example, [self environment organization], but there
also is [SystemChangeNotifier uniqueInstance] which seems to know nothing
about possible name clashes.
What is the status, are the plans for having 100%[tm] separated
namespaces? Google found
-
http://lists.squeakfoundation.org/pipermail/squeak-dev/2004-December/085761.html
was there anything else we should take care of?
The new name space we have in mind derives from ontologies and we don't
want to force users of an ontology namespace to prefix or suffix any
names/identifiers.
And while we are at it, how should an object (say, a Class) use objects
from another namespace (say, a Traits), and what about namespace
separation in #definitionST80.
But perhaps there are other and/or better ideas on how to separate
namespaces in Squeak, suggestions and/or experience, all appreciated.
/Klaus
P.S. Of course we already have some ideas (and working code examples) on
how to address these issues but would naturally like to hear voices from
the community.
More information about the Squeak-dev
mailing list
|