From: "James A. Robertson" Date: 2001-11-26T10:25:25+09:00 Subject: [ruby-talk:26480] Re: Selector Namespaces: A Standard Feature for Smalltalk? Doc O'Leary wrote: > In article , David > Simmons wrote: > > > >>What we would like is some mechanism to ensure that the two different >>versions of #size remain independent. Selector namespaces directly solve >>this issue. >> > > Actually, they don't. The real issue in this case is that a > subclass/method intended for the 1.0.0.0 version of BitTracker is being > applied to the 2.0 version. To directly address this problem, you > would do something about the: Actually, they do. Take Smalltalk - I load a component like Distributed Smalltalk into the system. It overrides the Object>>#printOn: method. I now load some other component - someone's custom inspector framework. It also overrides Object>>printOn: I to use both - having selector level namespaces would solve this, while versioning doesn't help me . > > Requires module: BitTracker. "version constraints elided" > > part of the issue. Modern systems are already pretty good when it > comes to issues of version managment. Namespaces, as is so often the > case, don't really solve the problem here and unnecessarily complicate > matters. >