[squeak-dev] MethodDictionary implementation

Ralph Boland rpboland at gmail.com
Mon Jul 20 05:17:51 UTC 2009


I have been looking at MethodDictionary.
It seems to have very little to do with Methods.
It seems to me that a better design would have been
to have a class VarDictionary which does not use
Associations (similar to MethodDictionary).
MethodDictionary would inherit from VarDictionary
and add the couple of additional methods it needs.
VarDictionary would then be available for others to use.

Better still would be to have MethodDictionary not
be a variable class at all but simply use an additional
variable  "values".  Again MethodDictionary should
really inherit from a class that provides this service.
I would use this service in my own code.

Ralph Boland



More information about the Squeak-dev mailing list