home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / objectiv / 727 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1017 b   |  26 lines

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