[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Class methods, instance variables, never the two shall mix?
From: |
Ralf Stephan |
Subject: |
Re: Class methods, instance variables, never the two shall mix? |
Date: |
Fri, 2 Jun 2000 13:15:24 +0200 |
> This would be confusing, as then self is of a different type
> /wrt self in member methods. Also, the class in question is
> well known when writing the code.
Correction, example found in GNU code:
@implementation Hashtable
+ initialize
{
if (self == [Hashtable class])
[self setVersion:-1]; /* alpha release */
return self;
}
RTS but not too late,
ralf
--
http://ME.IN-berlin.de/~rws/
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.