From: UpsNDowns Date: 2008-02-17T08:29:56+09:00 Subject: Re: object specific methods and id Hi Gary, Thanks again. Just a small note. > >>Pretending to be the devil's advocate, this could be explained away >>(I *guess*) by claiming that the singleton class could have >>provided a masking implementation of the class method. > > > I suppose but then you have to explain why the singleton class didn't > provide a masking implementation of its own superclass method, which > you don't want it to do since that would break > various other semantics in particular the behavior of singleton > classes of classes and method lookup on class instances. Strangely (or not) the class method cannot be overriden in the singleton. The argument about hacking the class method is somewhat buggered I believe (now). Since if B < A and I override the class method in B to return something else, it has no impact on what methods I can call on instances of B.