[KCP] call for good names
Stephane Ducasse
ducasse at iam.unibe.ch
Wed May 28 19:21:05 UTC 2003
Hi
In VW they have the following nice design idea that will simplify a lot
of browser code.
No test anymore.
These are not the names of VW which are not really sexy
(instanceBehavior and classBehavior). But thos ones are bad ;). Hence
my email
Behavior>>instanceLevel
^ self
Metaclass>>instanceLevel
^ thisClass
Behavior>>classLevel
^ self class
Metaclass>>classLevel
^ self
In VW the method are defined in ClassDescription instead of Behavior.
So this is also another point
to discuss I do not have too much to argue. It could be better indeed
to put them in ClassDescription has
ClassDescription is about class in the system. But this means that we
could not put instance of Behavior in Browsers.
So let us know
Stef
More information about the Squeak-dev
mailing list
|