home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18145 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.5 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!mharriso
  2. From: mharriso@digi.lonestar.org (Mark Harrison)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Need help implementic data structures of generic objects
  5. Message-ID: <1992Dec17.150212.24455@digi.lonestar.org>
  6. Date: 17 Dec 92 15:02:12 GMT
  7. References: <MATT.92Dec11162629@physics.berkeley.edu> <1992Dec13.002551.778@informix.com> <1992Dec16.141341.2554@ucc.su.OZ.AU>
  8. Organization: DSC Communications Corp, Plano, TX
  9. Lines: 23
  10.  
  11. In article <1992Dec13.002551.778@informix.com> cshaver@informix.com
  12. (Craig Shaver) writes:
  13.  
  14. >This group seems to be biased against inheritance techniques in all cases.
  15.  
  16. "Remember that much programming can be simply and clearly done using
  17. only primitive types, data structures, plain functions, and a few
  18. classes from a standard library.  The whole apparatus involved in
  19. defining new types should not be used except when there is a real
  20. need."
  21.  
  22.     B. Stroustrup, The C++ Programming Language, p.8.
  23.  
  24. >IMHO, if you do not use inheritance, you are not doing OOP.  If you do
  25. >not care, then you are just using C++ as a variation on C with no real
  26. >benefit.
  27.  
  28. For another opinion on this, read George Bosworth's "Objects, not
  29. classes, are the issue" in the Nov-Dec 1992 "Object Magazine".  He is
  30. cofounder and vice president of Digitalk, so it's probably fair
  31. to say he's not a C++ weenie.
  32. -- 
  33. Mark Harrison, mharriso@dsccc.com
  34.