Traits with pool vars?
Trygve Reenskaug
trygver at ifi.uio.no
Thu Apr 7 10:07:23 UTC 2005
I love the way traits separate method from class.
Traits do not know the ultimate class, so they cannot reference instvars.
Traits do know Smalltalk, so they can reference global variables and are
not quite stateless.
I have occasion to experiment with "regional variables" and want to use
pool vars for this.
Ar a first glance, it seems simple to let traits access pool vars.
Does this violently violate the ideas behind traits?
Cheers
--Trygve
--
Trygve Reenskaug mailto: trygver at ifi.uio.no
Morgedalsvn. 5A http://heim.ifi.uio.no/~trygver
N-0378 Oslo Tel: (+47) 22 49 57 27
Norway
More information about the Squeak-dev
mailing list
|