home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / object / 4678 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!cs.uiuc.edu!johnson
  3. From: johnson@cs.uiuc.edu (Ralph Johnson)
  4. Subject: Re: A little glossary for objects
  5. Message-ID: <Bzz8y7.Jn5@cs.uiuc.edu>
  6. Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
  7. References: <knight.724948496@cunews> <1992Dec23.151238.3419@Informatik.TU-Muenchen.DE> <1992Dec27.014406.26583@mole-end.matawan.nj.us>
  8. Date: Mon, 28 Dec 1992 16:10:55 GMT
  9. Lines: 24
  10.  
  11. mat@mole-end.matawan.nj.us writes:
  12.  
  13.  
  14. >In such languages, the use of `sub' and `super' is often confusing, because
  15. >the subclass is represented by a superstructure on the superclass.  (Hence
  16. >the classic advice to OO'rs moving to C++: ``Don't say `sub' and `super,' say
  17. >`base' and `derived'.'')
  18.  
  19. The C++ programmers around here all say "subclass" and "superclass",
  20. and nobody gets confused.   They never use the word "superstructure".
  21. "Base" and "derived" are perfectly good words, too, but they are no
  22. better or more natural than "subclass" and "superclass".  What is
  23. important is to be consistent and to avoid introducing too much new
  24. terminology.   One of the problems with the OO field is that each idea
  25. has several names.  This makes it hard for people to communicate with
  26. each other.  Since several different languages are used here, everyone
  27. uses the terms "subclass" and "superclass" and people can communicate
  28. with each other easily, even if they are used to using different 
  29. programming languages.
  30.  
  31. Ralph Johnson --  University of Illinois at Urbana-Champaign
  32.  
  33.  
  34.  
  35.