home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.objective-c
- Path: sparky!uunet!mcsun!sunic!palantir.p.tvt.se!infolog!infolog.se!Hans.Becker
- From: Hans.Becker@infolog.se (Hans Becker)
- Subject: Re: why no class variables?
- Message-ID: <1993Jan25.142043.16903@infolog.se>
- Sender: news@infolog.se
- Organization: Infologics AB, Sollentuna, Sweden
- Date: Mon, 25 Jan 1993 14:20:43 GMT
- Lines: 15
-
- In article <30@seltd.UUCP> lerman@seltd.UUCP (Kenneth Lerman) writes:
- > Note that the semantics of the above proposal differ from the simple
- > use of static variables in that every subclass has its own private
- > copy of the class variables of each of its superclasses. It is a pain
- > in the neck to implement this functionality using other mechanisms.
-
-
- I agree. Class variables are necessary in many applications. Static
- variables solve some problems, but they are not a good substitute for
- class variables. The proposed syntax seems to be ok.
-
- Hans Becker, Infologics AB,
- BOX 91, S-191 22 Sollentuna, Sweden
- Phone +46-8-922044
- Hans.Becker@infolog.se
-