home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 19004 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.5 KB

  1. Xref: sparky comp.lang.c++:19004 comp.object:4763
  2. Path: sparky!uunet!news.tek.com!tekgen!tekcae!jimc
  3. From: jimc@tekcae.cax.tek.com (Jim Carden)
  4. Newsgroups: comp.lang.c++,comp.object
  5. Subject: Re: Pros and cons of C++
  6. Message-ID: <1811@tekgen.bv.tek.com>
  7. Date: 12 Jan 93 15:02:50 GMT
  8. References: <C0Hp1n.vp@gpu.utcs.utoronto.ca> <MUTS.93Jan12100059@PMCS.estec.esa.nl>
  9. Sender: news@tekgen.bv.tek.com
  10. Followup-To: comp.lang.c++
  11. Organization: Tektronix, Inc., Beaverton,  OR.
  12. Lines: 22
  13.  
  14. >  John> Why then is it becoming so popular?  Why the deluge of texts,
  15. >  John> articles, magazines, news groups, compilers, etc?  It seems to
  16. >
  17. >Because it is not complex, especially not if you already know C.
  18. >...
  19. >If you look at the
  20. >minimal number of additions to C (most essential only a little
  21. >extension of the struct syntax) I think it is amazing.
  22. >The implications can be complex, but that is more due to OO than to
  23. >C++ in particular. But it pays for most applications.
  24.  
  25. If the complications were only due to OO then C++ would be much less 
  26. complex than it is.  For example, look at the complexity of 
  27. Objective C compared to that of C++.
  28. For another example, look at Andrew Koenig's article in the October 1992
  29. issue of C++ Report. ("Classes that yield truth values"). The complexity
  30. of this "feature" of C++ has nothing to do with object oriented programming,
  31. per se. It has to do with C'ifying object oriented programming rather than
  32. attempting to add OO to C as simply as possible.
  33. --
  34. Posted for Patrick Logan, patl@goldfish.mitron.tek.com
  35.  
  36.